Sonic Alert msm85c154hvs Clock Radio User Manual


 
DESCRIPTION OF INSTRUCTIONS
367
107. XRL A, @Rr (Logical exclusive OR indirect address to accumulator)
0110011r
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example XRL A, @R1
Instruction code
: Byte 1
(A)(A) XOR ((Rr)) r=0 or 1:
C AC F0 RS1 RS0 OV F1 P
:
:
:
The exclusive OR operation is executed between the
accumulator contents and the data memory location contents
addressed by the register r contents. The result is placed in the
accumulator, and the flag is updated.
:
01100111
70
Byte 1
Accumulator
01001001
70
1
1
Before execution
Accumulator
11011000
70
After execution
:
Register 1
00110110
70
Register 1
00110110
70
36H
10010001
70
36H
10010001
70