PIC17CXX Instruction Set


ADDLW


Syntax : ADDLW k

Operands : 0 ≤ k ≤ 255
Description : The contents of the W register are added to the 8-bit 
              literal 'k'. The result is stored in the W register.
Function :   (W) + k → (W)

Hex code : B1kk

Bit field: 1011 0001 kkkk kkkk

Words : 1

Cycles : 1

Affected flags : Zero, Carry, Digit Carry, OVerflow

See also :   MULLW,   SUBLW
Previous    Upper level    Next