BTFSC stands for "Bit Test F, Skip if Clear" Which means, test a bit in the following register. If the bit is clear (zero), then skip the next instruction. The STATUS register holds several bits which are of great use to the programmer, one of which is the Z or Zero bit. This bit it set if the W register was changed by another instruction to equal 0. It stays set until the W register is changed again to something other than 0. There are a few instructions (such as SWAPF) which do not test the W register, otherwise just about any change to W will set or clear the Z bit depending on whether W=0. So, in essence, the instruction says: "Skip the next instruction if the the number in W is NOT zero" -Adam Lucas Fenoll Molina wrote: > > hi I would like to know what does this line of code thanks > > btfsc STATUS,Z > > -- > http://www.piclist.com hint: The PICList is archived three different > ways. See http://www.piclist.com/#archives for details. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.