PIC17CXX Instruction Set


ANDLW


Syntax : ANDLW k

Operands : 0 ≤ k ≤ 255

Description : The contents of W register are AND'ed with the 8-bit literal 'k'.
              The result is stored in the W register.

Function : (W) .AND. k → (W)

Hex code : B5kk

Bit field: 1011 0101 kkkk kkkk

Words : 1

Cycles : 1

Affected flags : Zero

See also : IORLWXORLW 
Previous    Upper level    Next