lsl

Logical Shift Left (A32)

LSL{S}<c> <Rd>, <Rm>, <Rs>

Shifts a register left.

Details

The Logical Shift Left instruction shifts a register left.

Pseudocode Operation

Rd ← Rm shifted by amount

Example

LSL r0, r2, r6

Encoding

Binary Layout
cond
00
0
1101
S
0000
Rd
Rs
0
001
Rm
 
Format Data Proc
Opcode 0x01A00010
Extension A32 (Base)

Operands

  • Rd
    Destination general-purpose register
  • Rm
    Second source / offset general-purpose register
  • Rs
    Shift amount general-purpose register