Re: Differences between interrupt service routine (ISR) and a subroutine



In article <1164736936.337323.40270@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
uws2003@xxxxxxxxx says...
Hi

What are the differences between ISR and a subroutine in embedded
systems, how about the following:
- interrupts are disabled by the microprocessor prior to calling the
isr
Not always true.
- isr's are always smaller
not true
- an isr cannot be written in C
definitely just wrong
- a subroutine always has arguments
nope
- the CPU flags are stored on the stack in addition to the return
address
Depends on the CPU

Thanks
No problem
.



Relevant Pages