RLC bb,BCDE
Rotate Left Affect Carry
Rabbit 4000/5000 Instruction
|
| -- |
RLC bb,BCDE |
BCDE = {BCDE[30,0],B[7]} CF = B[7] bb = bb-1 repeat while bb != 0 |
| DD 68 |
RLC 1,BCDE |
BCDE = {BCDE[30,0],B[7]} CF = B[7] bb = bb-1 repeat while bb != 0 |
| DD 69 |
RLC 2,BCDE |
BCDE = {BCDE[30,0],B[7]} CF = B[7] bb = bb-1 repeat while bb != 0 |
| DD 6B |
RLC 4,BCDE |
BCDE = {BCDE[30,0],B[7]} CF = B[7] bb = bb-1 repeat while bb != 0 |
Description
Rotates BCDE to the left (bit 0 moves to bit 1, bit 1 moves to bit 2 etc.). Bit 31 moves to the C flag and bit
0. See the figure below.
Figure 6: The bit logic of the RLC operation.
This operation happens bb number of times.