Help!!!! I need to log out so LISTSERV@MITVMA.MIT.EDU stops sending me e-mail. I don't know how to do this. Can anyone help? -----Original Message----- From: Douglas Wood [SMTP:dbwood@KC.RR.COM] Sent: Thursday, February 08, 2001 3:45 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]:programming question > So, in essence, the instruction says: > "Skip the next instruction if the the number in W is NOT zero" This is not exactly true. It is more accurate to say: "Skip the next instruction if the result of the last operation that affected the status bit is not zero (Z==0)" Douglas Wood Software Engineer dbwood@kc.rr.com Home of the EPICIS Development System for the PIC and SX http://www.piclist.com/techref/member/DW--RA4 ----- Original Message ----- From: "M. Adam Davis" To: Sent: Thursday, February 08, 2001 12:46 PM Subject: Re: [PIC]:programming question > 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. > > -- 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.