![]() |
|
| << Previous | Next >> | |
| | |
XOR (HL) Exclusive OR Rabbit 4000/5000 Instruction
7F AE XOR (HL) A = [A & ~(HL)] | [~A & (HL)]
Description
Performs an exclusive OR operation between A and the data whose address is in HL. The result is stored in A.
The Rabbit 4000/5000 assemblers view "XOR A,(HL)" and "XOR (HL)" as equivalent instructions.
The opcode for this instruction is different than the same instruction in the Rabbit 2000, 3000 and 3000A.
Example
If HL contains 0x4000 and the memory location 0x4000 contains the byte 1001 0101 and A contains the byte 0101 0011 then the execution of the instruction
XOR (HL)
| Rabbit Instructions | << Previous | Next >> | rabbit.com |