> bsf PORTA,3 > bsf PORTA,5 Try bsf LATA,3 * bsf LATA,5 * if this was a non-18F PIC, a delay or nop(s) to separate the two instructions in time depending on PIC speed and external connection Problem you have sounds like classic read-modify-write. Or rather, this used to be the case on non-18F when PORT was both output and also the status of the pin itself. LAT for output addresses that problem and a delay will probably not be necessary. 18F PORTx is best reserved for reading inputs As for the problem showing up now, it's likely that a silicon revision has somehow highlighted your use of PORT as an output -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist