You copied the Doc URL to your clipboard.

UBFX

Unsigned bitfield extract.

This instruction is an alias of UBFM.

Syntax

UBFX  Wd, Wn, #lsb, #width    ; 32-bit general registers
UBFX  Xd, Xn, #lsb, #width    ; 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.

lsb

The value depends on the instruction variant:

32-bit general registers

Is the bit number of the lsb of the source bitfield, in the range 0 to 31.

64-bit general registers

Is the bit number of the lsb of the source bitfield, in the range 0 to 63.

width

The value depends on the instruction variant:

32-bit general registers

Is the width of the bitfield, in the range 1 to 32-lsb.

64-bit general registers

Is the width of the bitfield, in the range 1 to 64-lsb.

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.