----- Original Message ----- From: Lucas Fenoll Molina To: Sent: Thursday, February 08, 2001 1:16 PM Subject: [PIC]:programming question hi I would like to know what does this line of code thanks btfsc STATUS,Z ----- btfsc stands for "Bit test File and skip if clear" In this case, the instruction is looking in a special file register, called STATUS, that stores flags describing the result of a previous instruction. The Z part indicates that the instruction is looking at a bit called "Z" in the STATUS register. This bit is set if the result of the previous operation was zero, and is clear otherwise. A much simpler mnemonic, that is actually the exact same instruction at the machine language level is: SKPNZ For "Skip if not zero". Bob Ammerman RAm Systems (contract development of high performance, high function, low-level software) -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.