You copied the Doc URL to your clipboard.

BFM

Bitfield move, leaving other bits unchanged.

This instruction is used by the aliases:

  • BFI.

  • BFXIL.

Syntax

BFM  Wd, Wn, #immr, #imms    ; 32-bit general registers
BFM  Xd, Xn, #immr, #imms    ; 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.

immr

The value depends on the instruction variant:

32-bit general registers

Is the right rotate amount, in the range 0 to 31.

64-bit general registers

Is the right rotate amount, in the range 0 to 63.

imms

The value depends on the instruction variant:

32-bit general registers

Is the leftmost bit number to be moved from the source, in the range 0 to 31.

64-bit general registers

Is the leftmost bit number to be moved from the source, 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.