XOR Instruction

Purpose:To perform the logical exclusive OR of two integers
Format:opcode mask.rx, dst.mx
opcode mask.rx, src.rx, dst.wx
Operation:dst <- dst XOR mask;
dst <- src XOR mask;
Condition
Codes:
N <- dst LSS 0;
Z <- dst EQL 0;
V <- 0;
C <- C;
Exceptions:None
Opcodes:
8CXORB2Exclusive Or Byte 2 Operand
8DXORB3Exclusive Or Byte 3 Operand
ACXORW2Exclusive Or Word 2 Operand
ADXORW3Exclusive Or Word 3 Operand
CCXORL2Exclusive Or Long 2 Operand
CDXORL3Exclusive Or Long 3 Operand
Description: In the 2 operand format, the mask operand is XORed with the destination operand and the destination operand is replaced by the result.

In the 3 operand format, the mask is XORed with the source operand and the destination operand is replaced by the result.