<< Previous | Next >>

RRC 8,BCDE
RRC 8,JKHL
    Rotate Right
    Rabbit 4000 Instruction
Opcode
Instruction
Clocks
Operation

DD 5F

RRC 8,BCDE

4 (2,2)

BCDE = {E, BCD}

FD 5F

RRC 8,JKHL

4 (2,2)

JKHL = {L, JKH}


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

Description

Rotates BCDE or JKHL to the right. Each byte in the register moves to the next lowest-order byte position. E.g., the byte in B is loaded into C; the byte that was in C is loaded into D; the byte that was in D is loaded into E; and the byte that was in E is loaded into B.

Figure 17: The bit logic of the "RRC 8,BCDE" instruction

<< Previous | Next >>