<< Previous | Next >>

RLC 8,BCDE
RLC 8,JKHL
    Rotate Left
    Rabbit 4000 Instruction
Opcode
Instruction
Clocks
Operation

DD 4F

RLC 8,BCDE

4 (2,2)

BCDE = {CDE,B}

FD 4F

RLC 8,JKHL

4 (2,2)

JKHL = {KHL,J}


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

Description

Rotates BCDE or JKHL to the left. Each byte moves to the next highest-order byte position, with the highest-order byte moving to the lowest-order byte. See the figure below.

Figure 8: Bit logic of "RLC 8,BCDE" instruction

<< Previous | Next >>