<< Previous | Next >>

XOR n     Exclusive OR     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
EE n XOR n A = [A & ~n] | [~A & n]

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
4
n/a
n/a
Rabbit 5000
4
4
2

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
L
0
·
·

Description

Performs an exclusive OR operation between the byte in A and the 8-bit constant n. The result is stored in A.

The Rabbit 4000/5000 assemblers view "XOR A,n" and "XOR n" as equivalent instructions.


Rabbit Instructions << Previous | Next >> rabbit.com