asr

Arithmetic Shift Right (Immediate)

ASR <Wd>, <Wn>, #<shift>

Arithmetic shift right by immediate.

Details

The Arithmetic Shift Right instruction arithmetic shift right by immediate.

Pseudocode Operation

Wd ← Wn shifted by amount

Example

ASR w0, w1, #LSL

Encoding

Binary Layout
00010011
00
immr
imms
Rn
Rd
 
Format Data Processing (Immediate)
Opcode 0x13000000
Extension Base

Operands

  • Wd
    Destination 32-bit integer register
  • Wn
    First source / base 32-bit integer register
  • shift
    Shift amount