<< Previous | Next >>

> XOR r Exclusive OR Rabbit 2000/3000/3000A Instruction

> Opcode | Instruction | Clocks | Operation
> ---- | XOR r | 2 | A = [A & ~r] | [~A & r]
> AF | XOR A | 2 | A = [A & ~A] | [~A & A]
> A8 | XOR B | 2 | A = [A & ~B] | [~A & B]
> A9 | XOR C | 2 | A = [A & ~C] | [~A & C]
> AA | XOR D | 2 | A = [A & ~D] | [~A & D]
> AB | XOR E | 2 | A = [A & ~E] | [~A & E]
> AC | XOR H | 2 | A = [A & ~H] | [~A & H]
> AD | XOR L | 2 | A = [A & ~L] | [~A & L]

> 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 r (any of the registers A, B, C, D, E, H, or L). The result is stored in A.

<< Previous | Next >>