lsd

Sizes

byte, word, long

Default Size

word

Affected Flags

X
N
Z
V
C
✱
✱
✱
0
✱

Operands

Op 1
Dn/Im
Op 2
Dn

Shifts the bits of the destination operand to the {direction}. Two forms: (1) ls<d> Dx/Im, Dn shifts Dn by the count in Dx or immediate (1–8), any size. New bits are filled with 0s. Defaults to word. (2) ls<d>.w (An) shifts a memory word by 1; .w is the only size accepted and may be omitted.

Loading...