"David V. Fansler" wrote: > bsf Portc,3 ;port C bit 5 low > bcf portc,3 ;so pulse bit 3 four times > bsf Portc,3 > bcf portc,3 > bsf Portc,3 > bcf portc,3 > bsf Portc,3 > bcf portc,3 > goto MAIN This sort of coding is not recommended in PICs. I think you are better off doing something like this, or keeping a shadow register for portc. ; xxxx = bits that are previously set or cleared. movlw b'xxxx1xxx' ; PORTC,3 = 1 movwf PORTC movlw b'xxxx0xxx' ; PORTC,3 = 0 movwf PORTC etc -- Best regards Tony mICros http://www.bubblesoftonline.com mailto:sales@bubblesoftonline.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads