RR r
Rotate Right Through Carry
Rabbit 2000/3000/4000 Instruction
|
|
----
|
RR r
|
|
{r,CF} = {CF,r}
|
|
CB 1F
|
RR A
|
|
{A,CF} = {CF,A}
|
|
CB 18
|
RR B
|
|
{B,CF} = {CF,B}
|
|
CB 19
|
RR C
|
|
{C,CF} = {CF,C}
|
|
CB 1A
|
RR D
|
|
{D,CF} = {CF,D}
|
|
CB 1B
|
RR E
|
|
{E,CF} = {CF,E}
|
|
CB 1C
|
RR H
|
|
{H,CF} = {CF,H}
|
|
CB 1D
|
RR L
|
|
{L,CF} = {CF,L}
|
Description
Rotates to the right with the C flag the data in register r (any of the registers A, B, C, D, E, H, or L). 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 the figure below.
Figure 12: The bit logic for the RR instruction.