Suppose I am writing an interrupt service routine and there is a particular circumstance under which an interrupt occurs and I don't want to do RETFIE.
Basically, I want to "start over" in some sense. Is it sufficient to just re-enable the interrupts I want, set the GIE in INTCON to enable all unmasked interrupts and then jump to the start of my code?
I'm not quite sure how to "pop off" the return address that is sitting on some stack somewhere.
Basically, I want to "start over" in some sense. Is it sufficient to just re-enable the interrupts I want, set the GIE in INTCON to enable all unmasked interrupts and then jump to the start of my code?
I'm not quite sure how to "pop off" the return address that is sitting on some stack somewhere.