122
Rabbit 2000/3000 Microprocessor
Description
Rotates to the right with the C flag the data whose address is:
•
the data in HL, or
•
the sum of the data in IX and a displacement d, or
•
the sum of the data in IY and a displacement d.
Bit 0 moves to the C flag, bits 1 through 7 move to the next lowest-order bit position, and the C flag moves to
bit 7. See figure below.
Figure 4: The bit logic for the RR instruction.
RR (HL)
RR (IX+
d
)
RR (IY+
d
)
Opcode
Instruction
Clocks
Operation
CB 1E
RR (HL)
10 (2,2,1,2,3)
{(HL),CF} = {CF,(HL)}
DD CB
d
1E
RR (IX+
d
)
13 (2,2,2,2,2,3)
{(IX+
d
),CF} = {CF,(IX+
d
)}
FD CB
d
1E
RR (IY+
d
)
13 (2,2,2,2,2,3)
{(IY+
d
),CF} = {CF,(IY+
d
)}
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
•
•
•
•
7
0
CF
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...