Jason Graham wrote : > By the sounds of it, it will probably be a good idea to > clear the stack before i load it and vector back. If you are clearing the stack anyway (POP'ing until the STKUNF bit in STKPTR SFR is set), you probably just can GOTO some label at the start of main (and re-set GIE). You have POP'ed the interrupt "level" away anyway, so there is realy no need to RETFIE anymore. Make sure that all interrupts (both levels) are disabled during the POP'ing of the stack, or else "interesting" things might happen... :-) Jan-Erik. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist