214
CHAPTER 6 DETAILED RULES FOR EXECUTION INSTRUCTIONS
6.84 XOR (eXclusive OR Byte Data of Accumulator and
Temporary Accumulator to Accumulator)
Carry out the logical exclusive-OR on the byte data of AL and TL for every bit and return
the results to AL. The contents of AH are not changed.
■ XOR (eXclusive OR Byte Data of Accumulator and Temporary Accumulator to
Accumulator)
Operation
(AL) ← (AL) ∀ (TL) (byte logical exclusive-OR)
Assembler format
XOR A
Condition code (CCR)
+: Changed by executing instruction
-: Not changed
R: Set to 0 by executing instruction
N: Set to 1 if the MSB of AL is 1 as the result of operation and set to 0 in other cases.
Z: Set to 1 if the result of operation is 00
H
and set to 0 in other cases.
V: Always set to 0
C: Not changed
Number of execution cycle: 1
Byte count: 1
OP code: 52
NZVC
++R-