> The stack is automatically 'pushed' with any interrupt and there is no > way around that. If your code does not use subroutines, or the interrupt > can not 'fire' at anytime a subroutine is being used, then a GOTO can be > used to exit the IRQ. The stack will just keep wrapping around. Good idea! Just remember to set GIE. Which makes me realize that if one wanted to take an interrupt and then not get interrupted again until the foreground was ready, one could use RETURN instead of RETFIE. Probably old hat, I've never need it. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! use mailto:listserv@mitvma.mit.edu?body=SET%20PICList%20DIGEST