User's Manual

MSM80C154S/83C154S/85C154HVS
366
106. XRL A, #data (Logical exclusive OR immediate data to accumulator)
01100100
70
Instruction code
#data
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example XRL A, #15H
Instruction code
: Byte 1
I7 I6 I5 I4 I3 I2 I1 I0
70
Byte 2
(A)(A) XOR #data:
C AC F0 RS1 RS0 OV F1 P
:
:
:
The exclusive OR operation is executed between an immediate
data value and the accumulator contents. The result is placed in
the accumulator, and the flag is updated.
:
01100100
70
Byte 1
Accumulator
01001010
70
2
1
00010101
70
Byte 2
Before execution
Accumulator
01011111
70
After execution
: