<< Previous | Next >>

RLB A,BCDE
RLB A,JKHL
    Rotate Left with A
    Rabbit 4000 Instruction
Opcode
Instruction
Clocks
Operation

DD 6F

RLB A,BCDE

4 (2,2)

{A,BCDE} = {BCDE,A}

FD 6F

RLB A,JKHL

4 (2,2)

{A,JKHL} = {JKHL,A}


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

Description

Rotates BCDE or JKHL to the left with A. The bits are rotated 8 at a time, as illustrated in the figure below. Bits 0 through 23 are shifted 8 bits to bit positions 8 through 31. Bits 31 through 24 are shifted to A and A is shifted to bits 7 through 0.

Figure 4: The bit logic of the "RLB A, BCDE" instruction

<< Previous | Next >>