michael brown wrote: >> bsf tempw, 0 > Shouldn't this be "bsf tempw, F" No. BSF = Bit Set File. Syntax: BSF filereg, bitnum Bitnum = number of bit to set, 0 to 7 Filereg = Address of the file register to play with I suggest you read the Instruction Set section of the Mid Range Reference Manual or PIC16F84A datasheet again. Carefully... >> btfss DQ >> bcf tempw, 0 > Same here "bcf tempw, F" Indeed... Later. -- Phil. philpem@dsl.pipex.com http://www.philpem.dsl.pipex.com/ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body