Four instructions: MOVF lowbyte, W BTFSC zeroflag DECF highbyte, F DECF lowbyte, F -Adam Thomas N wrote: >Hi all > >Is there an easy way to subtract 16-bit number by 1? How? >Thanks! >Thomas > >-- >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