![Rabbit 2000 Instruction & Reference Manual Download Page 143](http://html1.mh-extra.com/html/rabbit/2000/2000_instruction-and-reference-manual_3112735143.webp)
Instruction Reference Manual
139
Description
Arithmetically shifts to the left the bits of the data in register r (any of A, B, C, D, E, H, or L). Bits 0 through
6 are each shifted to the next highest-order bit position (bit 0 moves to bit 1, etc.). Bit 7 is shifted to the C flag.
Bit 0 is reset. See Figure 7 on page 138.
SLA
r
Opcode
Instruction
Clocks
Operation
——
CB 27
CB 20
CB 21
CB 22
CB 23
CB 24
CB 25
SLA
r
SLA A
SLA B
SLA C
SLA D
SLA E
SLA H
SLA 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],0}; CF =
r
[7]
A = {A[6,0],0}; CF = A[7]
B = {B[6,0],0}; CF = B[7]
C = {C[6,0],0}; CF = C[7]
D = {D[6,0],0}; CF = D[7]
E = {E[6,0],0}; CF = E[7]
H = {H[6,0],0}; CF = H[7]
L = {L[6,0],0}; CF = L[7]
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
•
•
L
•
•
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...