PIC16CXX Instruction Set


ANDWF


Syntax : ANDWF f,d

Description : AND 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) .AND. f → d

Hex code : 05ff

Bit field:
00 0101 dfff ffff

Words : 1

Cycles : 1

Affected flags : Zero

See also :   IORWF,   XORWF
Previous    Upper level    Next