Hi Drew You must have a different version of MPLAB. decfsz W,F works just fine. It even does what you would expect. The register in the FSR pointer gets decremented and the result saved back to that register. It is the same as decfsz INDF,F because both INDF and W are defined as 0 Dave ----- Original Message ----- From: "Drew Vassallo" To: Sent: Wednesday, January 23, 2002 1:51 PM Subject: Re: [PIC]: Syntax Confusion > >Both have the same effect, because F is nothing more than a synonym for 1. > >The first is much more readable, though. Now guess what the effect of > >decfsz W, F will be? > > It won't be anything, because it won't compile. You can't use "W" as an > actual register, as it's not directly accessible in this manner. > > You'd have to use: > > addlw -1 > btfss STATUS, Z > . > . > . > > --Andrew > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics > > -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics