XA User Guide 6-170 4/17/98
XOR Exclusive OR
Syntax: XOR dest, src
Operation: dest <- dest (XOR) src
Description: The byte or word specified by the source operand is bitwise logically XORed to the
variable specified by the destination operand. The source data is not affected by the operation.
Size: Byte-Byte, Word-Word
Flags Updated: N, Z
XOR Rd, Rs
Bytes: 2
Clocks: 3
Operation: (Rd) <-- (Rd) (XOR) (Rs)
Encoding:
XOR Rd, [Rs]
Bytes: 2
Clocks: 4
Operation: (Rd) <-- (Rd) (XOR) ((WS:Rs))
Encoding:
XOR [Rd], Rs
Bytes: 2
Clocks: 4
Operation: ((WS:Rd)) <-- ((WS:Rd)) (XOR) (Rs)
Encoding:
0 1 1 1 SZ 0 0 1 d d d d s s s s
0 1 1 1 SZ 0 1 0 d d d d 0 s s s
0 1 1 1 SZ 0 1 0 s s s s 1 d d d