> http://www.jump.net/~vima/PIC/f874_txb.asm > Should the contents of W survive a subroutine return? (if saved to a temp file and then restored) yes > Should they survive a call to a subroutine that only executes "return" AFAIK, yes In your code I don't see a bsf gie anywhere yet you have an interrupt routine. Are you expecting to see the ISR executed ? Your writing style is quite different to mine and I find it a little hard to follow so maybe I missed something (BTW, if you can arrange for your mails to not be attachments it will save some unnecessary rudeness. Insults like that aren't particularly pleasant reading are they ?) -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads