Apptech email (remove spam text)
>> also can i exit a interrupt routine with a "goto" instead
>> of a "retfie"?
> Yes, but there will be a return address left on the stack,
> and each time
> that ISR is called. Eventually there'll be a crash. PICs
> with POP can
> deal with orphaned addresses on the stack if necessary,
> but you're
> better to exit with RETFIE to keep the stack tidy
You can't do this unless you are an expert and understand
exactly what you are doing and what happens when you do it.
Until then, just don't do it. The consequences will almost
always be fatal (to the program's function if not to you).
See also: www.piclist.com/techref/microchip/ints.htm?key=interrupt
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the