<< Previous | Next >>

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

> Opcode | Instruction | Clocks | Operation
> EE n | XOR n | 4 (2,2) | A = [A & ~n] | [~A & n]

> 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 assembler views "XOR A,n" and "XOR n" as equivalent instructions.

<< Previous | Next >>