鈭?/div>
[0,1]
(W) .XOR. (f)
鈫?(destination)
Z
00
0110
dfff
ffff
Exclusive OR the contents of 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'.
Words:
Cycles:
Q Cycle Activity:
1
1
Q1
Decode
Words:
Q2
Read
literal 'k'
1
1
Q1
Decode
Q3
Process
data
Q4
Write to
W
Cycles:
Q Cycle Activity:
Q2
Read
register
'f'
Q3
Process
data
Q4
Write to
destination
Example:
XORLW
Before Instruction
W
=
0xAF
Example
0xB5
XORWF
REG
1
Before Instruction
REG
W
=
=
0xAF
0xB5
After Instruction
W
=
0x1A
After Instruction
REG
W
=
=
0x1A
0xB5
DS30430C-page 68
漏
1998 Microchip Technology Inc.