lsr
Logical Shift Right (A32)
LSR{S}<c> <Rd>, <Rm>, <Rs>
Shifts a register right.
Details
The Logical Shift Right instruction shifts a register right.
Pseudocode Operation
Rd ← Rm shifted by amount
Example
LSR r0, r2, r6
Encoding
Binary Layout
cond
00
0
1101
S
0000
Rd
Rs
0
011
Rm
Operands
-
Rd
Destination general-purpose register -
Rm
Second source / offset general-purpose register -
Rs
Shift amount general-purpose register