Re: NewQ: Difference between an isr and a subroutine is that an isr has no arguments




"James Beck" <jim@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:MPG.1fd6562aaec84d6d989d8e@xxxxxxxxxxxxxxxxxxxxxxxxxxx
In article <1164739817.612931.190780@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
uws2003@xxxxxxxxx says...

Thanks and wondering if
- difference between an isr and a subroutine is that an isr has no
arguments
is true or not?

Since you don't know what is in the resisters when the ISR is jumped to
the idea of function arguments is meaningless.

Well I can see some good uses for interrupts with arguments,
making interrupt routines even easier to write in C. I'm sure
someone has patented the idea already as it is quite obvious...

Wilco


.



Relevant Pages