Re: Differences between interrupt service routine (ISR) and a subroutine
- From: paul$@pcserviceselectronics.co.uk (Paul Carpenter)
- Date: Tue, 28 Nov 2006 20:05:51 +0000 (GMT)
On 28 Nov, in article
<1164736936.337323.40270@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
uws2003@xxxxxxxxx "2005" wrote:
Hi
What are the differences between ISR and a subroutine in embedded
systems, how about the following:
Sounds like a homework question, you want somebody else to answer
for you.
Hint see if you can find a difference between interupts and functions
on NON embedded systems.
- 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
Well I suggest you go back and read the book again, as these appear
to be badly copied from a text book.
--
Paul Carpenter | paul@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<http://www.pcserviceselectronics.co.uk/> PC Services
<http://www.gnuh8.org.uk/> GNU H8 & mailing list info
<http://www.badweb.org.uk/> For those web sites you hate
.
- References:
- Prev by Date: Re: Endianness does not apply to Bits in Byte - Why ? Strange !!
- Next by Date: Re: Little Endian: What would be the no stroed at memory location 0x0001
- Previous by thread: Re: Differences between interrupt service routine (ISR) and a subroutine
- Next by thread: Re: Differences between interrupt service routine (ISR) and a subroutine
- Index(es):
Relevant Pages
|