Hi, If you use movff you don't change flags nor BSR... Josh Koffman wrote: > > I'm not really sure what to do on this one. I suppose I could use a > lot of banksel commands (and that's likely what I'm going to try while > waiting to see what everyone else thinks), but is there a better way? > I'm currently using code Microchip put in the data sheet for context > saving, which means it might not be the best. I'd like to keep using > my own registers rather than the fast return stack as I'd like the > capability of moving to two priority interrupts later on. > ----- Best regards, Philippe. http://www.pmpcomp.fr Pic Micro Pascal for all! -- View this message in context: http://old.nabble.com/Bank-switching-when-context-saving-in-ISR-tp27659944p27660262.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist