RR (HL)
RR (IX+d)
RR (IY+d)
Rotate Right Through Carry
Rabbit 2000/3000/4000 Instruction
|
|
CB 1E
|
RR (HL)
|
|
{(HL),CF} = {CF,(HL)}
|
|
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)}
|
Description
Rotates to the right with the C flag the data whose address is:
- HL, or
- the sum of IX and the 8-bit signed displacement d, or
- the sum of IY and the 8-bit signed 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 12 for an illustration.