DESCRIPTION OF INSTRUCTIONS
369
109. XRL A, data address (Logical exclusive OR memory to accumulator)
01100101
70
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example XRL A, 70H
Instruction code
: Byte 1
a7 a6 a5 a4 a3 a2 a1 a0
70
Byte 2
(A)←(A) XOR (data address):
C AC F0 RS1 RS0 OV F1 P
•
:
:
:
The exclusive OR between the accumulator contents and the
specified data address contents is determined. The result is
placed in the accumulator and the flag is updated.
:
01100101
70
Byte 1
Accumulator
11110110
70
2
1
01110000
70
Byte 2
Before execution
Accumulator
11011001
70
After execution
:
70H
00101111
70
70H
00101111
70