Oops, I guess the "goto $-5" would need to change. How about a label? On Thu, 08 Jul 2010 23:18:12 -0700, "Bob Blick" said: > Hi Ravi, > > Try putting nops in like this: > > bsf portc,scl > nop > bsf portc,sda > goto $+1 > bcf portc,scl > nop > bcf portc,sda > goto $-5 > > If it works then it is probably a read-write-modify issue, which occurs > when a pin hasn't changed enough before the next bcf or bsf happens. > > Cheerful regards, > > Bob > > -- > http://www.fastmail.fm - Access all of your messages and folders > wherever you are > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.fastmail.fm - Accessible with your email software or over the web -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist