PIC17CXX Instruction Set


ADDWFC


Syntax : ADDWFC f,d

Operands : 0 ≤ f ≤ 255
           d ∈ [0,1]
				
Description : Add the contents of the W register and the Carry flag 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) + C → (d)

Hex code : 10ff

Bit field: 0001 000d ffff ffff

Words : 1

Cycles : 1

Affected flags : Zero, Carry, Digit Carry, OVerflow

See also :   ADDWF,   MULWF,   SUBWF,   SUBWFB
Previous    Upper level    Next