Rotate And Shift Group - Sharp mz-800 Technical Reference And User's Manual

Hide thumbs Also See for mz-800:
Table of Contents

Advertisement

- - Rotate and Shift Group---
flags
opcode
No.
No.
mnemonic
operation
bytes of M ofT
comments
c z
PV
s
N
H
76 543 210
cycles cycles
RLC A
~--l
t
• • •
0
0
00 000 111
l
l
4
The contents of the
-i
i
~
Accumulator are rota((•d
i
left.
RL A
i
/\
!
~
t
• • •
0
0
00 010 111
l
l
4
RRC A
~
t
• • •
0
0
00 001 111
l
l
4
The contents of the
Accumulator are rotated
right.
RR A
~
t
• • •
0
0
00 011 ll1
1
1
4
RLC
r
t
t
p
t
0
0
ll 001 011
2
2
8
The contents of register r
oo[oool r
are rotated left.
RLC (HL)
t
t
p
t
0
0
11 001 011
2
4
15
r
register
00[000[110
000
B
RLC (IX+d)
~
t
t
p
t
0
0
11 011 101
4
6
23
001
c
s
ll 001 011
010
D
<--
d
--+
011
E
oo[ooo!11o
lOO
H
RLC (IY +d)
t
t
p
t
0
0
101
L
11 111 101
4
6
23
111
A
11 001 011
<--
d
--+
00
[QQ!!]
110
RL s
~
t
t
p
t
0
0
[010[
The s operand is any of r.
(HL),
(IX +d) or (IY ·d)
RRC s
~
t
t
p
t
0
0
IOoll
RR s
~
t
t
p
t
0
0
[0111
'
SLA
s
~r;
t t
p
t
0
0
I
toOl
L.----...J
SRA s
~
t
t
p
t
0
0
[_IQ]
SRL s
0~
t
t
p
t
0
0
rilTl
[
__
~
RLD
~
t
p
t
0
0
ll 101 101
2
5
18
(H
L)
01 101 111
RRD
)~
4)3:
o!
)7
1
tS
ol
t
p
t
0
0
11 101 101
2
5
18
(H L ' -
01 lOO 111
148

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents