>Below are the changes made: (just added two BSF) >LOOP > BSF PORTB, 7 ; port B, bit7:=High > BSF PORTB, 7 ; port B, bit7:=High > BSF PORTB, 7 ; port B, bit7:=High > BCF PORTB, 7 ; port B, bit7:=Low >GOTO LOOP ; Waveform: This is really still not great. You are probably better off doing: Loop bsf PORTB, 7 nop nop bcf PORTB, 7 goto Loop The last line is OK relative to BSF/BCF due to the 2-cycle goto instruction. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu