I checked and that was ok; apparently it was a read-notify-write problem. First by inserting a NOP between the MOVWF and BSF instructions and then by doing as Chris said and changing back to bank 0 I solved the problem. Thank you for your help, Andrew -- View this message in context: http://www.nabble.com/Problems-with-PIC16F88-t1303364.html#a3482518 Sent from the MicroControllers - PIC forum 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