On Sunday 09 February 2003 07:15 am, you wrote: > michael brown wrote: > >> bsf tempw, 0 > > > > Shouldn't this be "bsf tempw, F" > > No. BSF =3D Bit Set File. > Syntax: BSF filereg, bitnum > Bitnum =3D number of bit to set, 0 to 7 > Filereg =3D 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... Well DUH! ;-) I was up early and hadn't had my coffee yet, sorry. ;-) = =20 Once I saw the rlf without a destination modifier, my single tracked=20 mind just wouldn't let up. ;-) The default destination is W(0) when=20 one isn't supplied, correct? BTW, he's using a 16F628, not an 84A. I have read the F84 datasheet=20 "carefully", it's just been a little while (and a few other=20 architectures) since then. ;-) michael the dunce <:-) -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body