Re: Interrupt block with different exit?
Hi,
you can return wherever you want at the end of an interrupt stubb ...
I did it some years ago ... but Darrel did not like it at all !!! (
)
just have a look to the asm code generated and you will understand why and how !
the trick lies on the DEFINE INTHAND + RESUME _Label use ...
RESUME _Label gives
- bsf Intcon.7
- GOTO _Label
and _ Label is a PBP stubb ... where you want to jump to ...
for the moment, I have to dig out the program I wrote ...
Alain
Last edited by Acetronics2; - 6th February 2025 at 19:55.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks