<< Previous | Next >>

RLB A,BCDE
RLB A,JKHL
    Rotate Left with A
    Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
DD 6F RLB A,BCDE {A,BCDE} = {BCDE,A}
FD 6F RLB A,JKHL {A,JKHL} = {JKHL,A}

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


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