<< Previous | Next >>

SLA (IX+d)
SLA (IY+d)
    Shift Left Arithmetic
    Rabbit 2000/3000/4000/5000 Instruction

Opcode
Instruction
Operation
DD CB d 26 SLA (IX+d) (IX + d) = {(IX + d)[6,0],0}
CF = (IX+d)[7]
FD CB d 26 SLA (IY+d) (IY + d) = {(IY + d)[6,0],0}
CF = (IY+d)[7]

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 2000/3000/4000
13
n/a
n/a
Rabbit 5000
14
12
10

Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
·
·
L
·
·
·
·

Description

Arithmetically shifts to the left the bits of the data whose address is

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 19 for an illustration.


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