Sharp MZ-80B Owner's Manual page 106

Hide thumbs Also See for MZ-80B:
Table of Contents

Advertisement

Mnemonic
RLC A
RL A
RRC A
RR A
RLC r
RLC (HL)
RLC
(IX
+d)
RLC (IY+d)
RL s
RRC s
RR s
SLA s
SRA s
SRL s
RLD
RRD
Symbolic
Flags
OP-Code
No.
No.
No.
of
ofM
ofT
Comments
Operation
c z
P/V
s
N
H
76 543 210
Bytes Cycles States
~
t
• • •
0
0
00 000
111
1
1
4
Rotate left circular
accumulator
L{ill::{diJ
t
• • •
0
0
00 010 111
1
1
4
Rotate left accumulator
~
t
• •
0
0
00 001 111
1
1
4
Rotate right
circular
accumulator
~
t
0
0
00 011 111
1
1
4
Rotate right accumulator
t t
p
t
0
0
11
001 011
2
2
8
Rotate left
circular
00
[jjQQJ
r
register
r
t t
p
t
0
0
11 001 011
2
4
15
r
Reg.
00
[jjQQJ
110
000
B
~
t t
p
t
0
0
11 011 101
4
6
23
001
c
'
11 001 011
010
D
~
d
~
011
E
00
[jjQQJ
110
100
H
101
L
t t
p
t
0
0
11 111 101
4
6
23
111
A
11 001 011
~
d
~
00
[jjQQJ
110
L{ill::{Ei)J
t t
p
t
0
0
IQill
Instruction
format and states
'
are as shown for RLC, m.
~
t t
p
t
0
0
[00
To form new OP·code replace
~of
RLC,
m
with shown
L(E]Hii}J
t t
p
t
code.
0
0
[ill]
'
~0
t t
p
t
0
0
[!Q[]
'
~
t t
p
t
0
0
[ill]
0~
t t
p
t
0
0
[ill]
~
Rotate digit left and right
t
p
t
0
0
11 101
101
2
5
18
between the accumulator and
(.HL)
01 101 111
location (HL).
~
t
p
t
0
0
11 101 101
2
5
1R
The
content of
the upper half
01 100 111
of the accumulator is
(HL)
unaffected.
Flag Notation:
=
flag not affected,
0
=
flag reset, 1
=
flag set, X
=
flag is unknown,
t
=
flag
is
affected according to the result of the
operation.
ROTATE AND SHIFT GROUP
TABLE
4.3-7
97

Advertisement

Table of Contents
loading

Table of Contents