and you could use addlw B'1' in place of incf W, 0 regards, Tan CC ----- Original Message ----- From: "John De Villiers" To: Sent: Sunday, February 02, 2003 2:31 AM Subject: Re: [PIC]: Problem with first 16F877 test program > On Sat, 2003-02-01 at 19:39, Joe Farr wrote: > > Hi All, > > incf W, 0 ; W = W + 1 > > incf increments an F register, not W, unless W on the 16F877 is an F > register. Dunno, havent had the need for those chips yet. > > -- > John De Villiers > > -- > http://www.piclist.com hint: PICList Posts must start with ONE topic: > [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads > -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads