Hi, >f800_8: bcf GPIO,FOUT ;1 > bsf GPIO,FOUT ;1 > goto f800_9 ;2 >f800_9: goto f800_10 ;2 >f800_10: goto f800_11 ;2 this should be: f800_8: bcf GPIO,FOUT ;1 goto f800_9 ;2 f800_9: bsf GPIO,FOUT ;1 goto f800_10 ;2 f800_10: goto f800_11 ;2 because the bcf/bsf are read-modify-write instructions and the pin hasn't time to stabilize the logic level after first bit clear. Andrej _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.