Can anyone advise please?
If, while executing a subroutine an interrupt occurs, is it possible to service the interrupt routine and then, instead of returning to execute the subroutine, simply abort and junp straight back to the main program instead? If this is possible, how do I handle the stack? I'm using the PIC18F252. This is not something I've tried before.
Thanks.