PIC16CXX 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 : 07ff

Bit field:
00 0111 dfff ffff

Words : 1

Cycles : 1

Affected flags : Zero, Carry, Digit Carry

See also :   SUBWF
Previous    Upper level    Next