<< Previous | Next >>

RRC 8,BCDE
RRC 8,JKHL
    Rotate Right
    Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
DD 5F RRC 8,BCDE BCDE = {E, BCD}
FD 5F RRC 8,JKHL JKHL = {L, JKH}

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
4
n/a
n/a
Rabbit 5000
4
4
2

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


Rabbit Instructions << Previous | Next >> rabbit.com