Table of Contents Previous topic Next topic
MICROPROCESSOR INSTRUCTION REFERENCE->Shift Instructions
Instruction | Operand Syntax | Operand Size | Operation |
ASL | Dx,Dy #<data>,Dn | 32 32 | X/C <-Dy <- 0 (Dx times) X/C <-Dn <- 0 (<data> times) |
ASR | Dx,Dy #<data>,Dn | 32 32 | Sign -> Dy ->X/C (Dx times) Sign -> Dn ->X/C (<data> times) |
LSL | Dx,Dy #<data>,Dn | 32 32 | X/C <- Dy <- 0 (Dx times) X/C <- Dn <- 0 (<data> times) |
LSR | Dx,Dy #<data>,Dn | 32 32 | 0 -> Dy -> X/C (Dx times) 0 -> Dn -> X/C (<data> times) |
SWAP | Dn | 16 | Exchange most significant and least significant words of Dn |