<< Previous | Next >>

RR DE
RR HL
    Rotate Right Through Carry
    Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

FB

RR DE

2

{DE,CF} = {CF,DE}

FC

RR HL

2

{HL,CF} = {CF,HL}


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 in DE or HL. Bit 0 moves to the C flag, bits 1 through 15 move to the next lowest-order bit position, and the C flag moves to bit 15. See Figure 11 below for an illustration.

Figure 11: The bit logic for RR instruction.

<< Previous | Next >>