if i run bsf PORTA,2 bit 2 of port a goes high, but then if i run bcf PORTA,1 bit 1 and 2 go low. why is this, the same thing happens in a pic simulation program. how do i stop this from occuring? -- View this message in context: http://www.nabble.com/weird-behavior-of-pic16f876-tf3464206.html#a9665205 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