(W) .AND. (f)
鈫?/div>
(dest)
Z
00
0101
dfff
ffff
AND the W register with 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'
.
f,d
Words:
Cycles:
Example
1
1
ADDWF
FSR, 0
W =
FSR =
0x17
0xC2
0xD9
0xC2
Words:
Cycles:
Example
1
1
ANDWF
FSR, 1
W =
FSR =
0x17
0xC2
0x17
0x02
Before Instruction
Before Instruction
After Instruction
W =
FSR =
After Instruction
W =
FSR =
漏
1998 Microchip Technology Inc.
Preliminary
DS40182A-page 67