>From: Andrew Warren >Reply-To: pic microcontroller discussion list > If the second instruction after your "ADDWF PCL" is "RETLW > 0x9C", the explanation is simple: You've executed the RETLW > before stopping the PIC and reading W and PC. > > -Andy > No it is not 0x9c and I am running MPLAB in single stepping mode. Regards, Mansoor _________________________________________________________________ Using a handphone prepaid card? Reload your credit online! http://www.msn.com.my/reloadredir/default.asp -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads