Differences between interrupt service routine (ISR) and a subroutine
- From: "2005" <uws2003@xxxxxxxxx>
- Date: 28 Nov 2006 10:02:16 -0800
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
- isr's are always smaller
- an isr cannot be written in C
- a subroutine always has arguments
- the CPU flags are stored on the stack in addition to the return
address
Thanks
.
- Follow-Ups:
- Re: Differences between interrupt service routine (ISR) and a subroutine
- From: Pete Fenelon
- Re: Differences between interrupt service routine (ISR) and a subroutine
- From: Paul Carpenter
- Re: Differences between interrupt service routine (ISR) and a subroutine
- From: James Beck
- Re: Differences between interrupt service routine (ISR) and a subroutine
- From: Tom Lucas
- Re: Differences between interrupt service routine (ISR) and a subroutine
- Prev by Date: Re: Endianness does not apply to byte
- Next by Date: Re: Differences between interrupt service routine (ISR) and a subroutine
- Previous by thread: connect I2C devices with diferent voltages, 3.3v and 5v
- Next by thread: Re: Differences between interrupt service routine (ISR) and a subroutine
- Index(es):
Relevant Pages
|