whoo hoo!!
do you mean just with respest to the program counter - stack is bad? all registors and user variables will still be intact, yes?Once you do that, you can never RETURN to where the program was before the interrupt.
It's as if the chip started running from that point at power-up.
they are off because they were turned off by the interrupt hardware in the uP? So if this JUMPING ISR turned them back on, is the stack the only issue?With ASM interrupts on 16F's it's pretty much the same because the stack is circular and it will wrap around and overwrite previous entries. Interrupts will be turned off after the jump in this case.
So the ISR will need to clear the stack AND turn interrupt's back on?With ASM interrupts on 18F's, you must clear the stack first to prevent an overflow.
New question, in the 16f1's, do we care about the auto context save?
Mind you, much like jumping from a bridge with a rubber band ties to my foot, I can't imagine doing this. But you (Darrel) said it best, knowledge is intoxicating![]()
Bookmarks