> BSF PORTD,1 ;switch on the 1. LED of PORTD > BSF PORTD,0 ;switch on the 0. LED of PORTD Possible read-modify-write problem. Those two instructions should be separated by at least a NOP -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist