Arithmetic // AND, OR, XOR
The logical exclusive-OR operation is performed between the byte specified by the s operand and the byte contained in the Accumulator; the result is stored in the Accumulator.
If the Accumulator contains 96h (1001 0110), then upon the execution of an XOR 5Dh (5Dh = 0101 1101) instruction, the Accumulator contains CBh (1100 1011).
xor b 0xA8,
1 bytes, 4Txor c 0xA9,
1 bytes, 4Txor d 0xAA,
1 bytes, 4Txor e 0xAB,
1 bytes, 4Txor h 0xAC,
1 bytes, 4Txor l 0xAD,
1 bytes, 4Txor (hl) 0xAE,
1 bytes, 7Txor a 0xAF,
1 bytes, 4Txor * 0xEE,
2 bytes, 7Txor ixh 0xDDAC,
2 bytes, 8Txor ixl 0xDDAD,
2 bytes, 8Txor (ix+*) 0xDDAE,
3 bytes, 19Txor iyh 0xFDAC,
2 bytes, 8Txor iyl 0xFDAD,
2 bytes, 8Txor (iy+*) 0xFDAE,
3 bytes, 19T