
152
Rabbit 2000/3000 Microprocessor
Description
Performs an exclusive OR operation between the byte in A and r (any of the registers A, B, C, D, E, H, or L).
The corresponding bits of each byte are compared (i.e., bit 0 of both bytes are compared, 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
r
Opcode
Instruction
Clocks
Operation
——
AF
A8
A9
AA
AB
AC
AD
XOR
r
XOR A
XOR B
XOR C
XOR D
XOR E
XOR H
XOR L
2
2
2
2
2
2
2
2
A = [A & ~
r
] | [~A &
r
]
A = [A & ~A] | [~A & A]
A = [A & ~B] | [~A & B]
A = [A & ~C] | [~A & C]
A = [A & ~D] | [~A & D]
A = [A & ~E] | [~A & E]
A = [A & ~H] | [~A & H]
A = [A & ~L] | [~A & L]
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
0
•
•
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 164: ...160 Instruction Reference Manual...
Страница 172: ...168 Rabbit 2000 3000 Microprocessor...
Страница 174: ...170 Rabbit 2000 3000 Microprocessor...