PIC16CXX Instruction Set


ADDLW


Syntax : ADDLW k

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 : 3Ekk

Bit field:
11 111x kkkk kkkk

Words : 1

Cycles : 1

Affected flags : Zero, Carry, Digit Carry

See also :   SUBLW
Previous    Upper level    Next