You copied the Doc URL to your clipboard.

ASR (immediate)

Arithmetic shift right (immediate).

This instruction is an alias of SBFM.

Syntax

ASR  Wd, Wn, #shift    ; 32-bit general registers
ASR  Xd, Xn, #shift    ; 64-bit general registers

Where:

Wd

Is the 32-bit name of the general-purpose destination register, in the range 0 to 31.

Wn

Is the 32-bit name of the general-purpose source register, in the range 0 to 31.

shift

The value depends on the instruction variant:

32-bit general registers

Is the shift amount, in the range 0 to 31.

64-bit general registers

Is the shift amount, in the range 0 to 63.

Xd

Is the 64-bit name of the general-purpose destination register, in the range 0 to 31.

Xn

Is the 64-bit name of the general-purpose source register, in the range 0 to 31.