PIC16C5X Instruction Set


ADDWF


Syntax : ADDWF f,d

Description : Add the contents of the W register and to register 'f'.
              If 'd' is 0 the result is stored in the W register.
              If 'd' is 1 the result is stored back in register 'f'.

Function : W + f → d

Hex code : 1Cf

Bit field:
0001 11df ffff

Words : 1

Cycles : 1

Affected flags : Zero, Carry, Digit Carry

See also :   SUBWF
Previous    Upper level    Next