86 Rabbit 2000/3000 Microprocessor
Description
Rotates to the left the data in the register r (any of the register A, B, C, D, E, H, or L). Each bit in the register
moves to the next highest-order bit position (bit 0 moves to bit 1, etc.) while bit 7 moves to both bit 0 and the
CF. See Figure 2 on page 85.
Description
Rotates to the left the data in the Accumulator. Each bit in the register moves to the next highest-order bit
position (bit 0 moves to bit 1, etc.) while bit 7 moves to both bit 0 and the CF. See Figure 2 on page 85.
RLC r
Opcode Instruction Clocks Operation
——
CB 07
CB 00
CB 01
CB 02
CB 03
CB 04
CB 05
RLC r
RLC A
RLC B
RLC C
RLC D
RLC E
RLC H
RLC L
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
r ={r[6,0],r[7]}; CF = r[7]
A = {A[6,0],A[7]}; CF = A[7]
B = {B[6,0],B[7]}; CF = B[7]
C = {C[6,0],C[7]}; CF = C[7]
D = {D[6,0],D[7]}; CF = D[7]
E = {E[6,0],E[7]}; CF = E[7]
H = {H[6,0],H[7]}; CF = H[7]
L = {L[6,0],L[7]}; CF = L[7]
Flags ALTD I/O
S Z L/V C F R SP S D
• • L • • •
RLCA
Opcode Instruction Clocks Operation
07 RLCA 2 A = {A[6,0],A[7]}; CF = A[7]
Flags ALTD I/O
S Z L/V C F R SP S D
- - - • • •