<< Previous | Next >>

RR (HL)     Rotate Right Through Carry     Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
CB 1E RR (HL) {(HL),CF} = {CF,(HL)}

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

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 HL.

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