Sonic Alert msm85c154hvs User Manual
DESCRIPTION OF INSTRUCTIONS
371
111. XRL data address, A (Logical exclusive OR accumulator to memory)
0
1
1
0
0
0
1
0
7
0
Instruction code
Data address
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example XRL 20H, A
Instruction code
:
Byte 1
a
7
a
6
a
5
a
4
a
3
a
2
a
1
a
0
7
0
Byte 2
(data address)
←
(data address) XOR (A)
:
C
AC
F0
RS1 RS0 OV
F1
P
•
:
:
:
The exclusive OR between the accumulator and the specified
data address contents is determined. The result is placed in the
specified data address.
data address contents is determined. The result is placed in the
specified data address.
:
0 1 1 0 0 0 1 0
7
0
Byte 1
Accumulator
0 1 1 1 0 1 0 1
7
0
2
1
0 0 1 0 0 0 0 0
7
0
Byte 2
Before execution
Accumulator
0 1 1 1 0 1 0 1
7
0
After execution
:
20H
1 1 0 1 0 0 1 1
7
0
20H
1 0 1 0 0 1 1 0
7
0