Instruction Reference Manual
151
Description
Performs an exclusive OR operation between the byte in A and the 8-bit constant n. The corresponding bits of
each byte are compared (i.e., bit 0 of both bytes are compared, the bit 1 of both bytes are compared, etc.). The
associated bit in the result byte is set if and only if one of the two compared bits is set. The result is stored in
A.
XOR
n
Opcode
Instruction
Clocks
Operation
EE
n
XOR
n
4 (2,2)
A = [A & ~
n
] | [~A &
n
]
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...