Table of Contents
Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->LSL
LSL Logical Shift Left
Destination shifted left by <count> -> Destination
C <- OPERAND <- 0
X <-
Assembler Syntax: | LSL.L Dx,Dy |
| LSL.L #<data>,Dy |
Dx contains shift count
Immediate shift data may be 1 - 8
Size: Long
Condition Codes:
N Set if most significant bit of result is set, else cleared
Z Set if result zero, else cleared
V Always cleared
C Set according to last bit shifted out of operand, cleared for a shift count of zero
X Set according to last bit shifted out of operand, unaffected by a shift count of zero