<< Previous | Next >>

RR (IX+d)
RR (IY+d)
    Rotate Right Through Carry
    Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
DD CB d 1E RR (IX+d) {(IX+d),CF} = {CF,(IX+d)}
FD CB d 1E RR (IY+d) {(IY+d),CF} = {CF,(IY+d)}

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
13
n/a
n/a
Rabbit 5000
14
12
10

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
L
·
·
·
·

Description

Rotates to the right with the C flag the data whose address is:

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 12 for an illustration.


Rabbit Instructions << Previous | Next >> rabbit.com