| << Previous | Next >> | |
| |
SLA r Shift Left Arithmetic Rabbit 2000/3000/4000 Instruction
---- SLA r 4 (2,2) r = {r[6,0],0}; CF = r[7]
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 the figure below.
| | |
| << Previous | Next >> |