Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments
- From: James Beck <jim@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 17:52:32 -0500
In article <456cacd6$1@xxxxxxxxxxxx>, no.spam@xxxxxxxxxxxxxxxxxxxxxx
says...
Vladimir Vassilevsky wrote:Not really an interrupt in the hardware sense since the main line code
Wilco Dijkstra wrote:
Well I can see some good uses for interrupts with arguments,
making interrupt routines even easier to write in C.
In ADI VDSP, the interrupt handlers do have arguments.
I'm sure
someone has patented the idea already as it is quite obvious...
An interrupt handler is somewhat similar to a thread. If threads can
have arguments, the interrupt handlers can have it too.
and then there are Software Interrupts - it's common for those to have
arguments. ( See BIOS calls etc ).
-jg
knows when they are called and actually sets up registers to pass info.
BIOS calls are really just common subroutines that are in firmware.
.
- Follow-Ups:
- References:
- Differences between interrupt service routine (ISR) and a subroutine
- From: 2005
- Re: Differences between interrupt service routine (ISR) and a subroutine
- From: Tom Lucas
- NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: 2005
- Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: James Beck
- Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: Wilco Dijkstra
- Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- From: Vladimir Vassilevsky
- Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments
- From: Jim Granville
- Differences between interrupt service routine (ISR) and a subroutine
- Prev by Date: Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments
- Next by Date: Re: interested in wombats
- Previous by thread: Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments
- Next by thread: Re: NewQ: Difference between an isr and a subroutine is that an isrhas no arguments
- Index(es):