You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : BFXIL

BFXIL

Bitfield extract and insert at low end.

This instruction is an alias of BFM.

Syntax

BFXIL Wd, Wn, #lsb, #width ; 32-bit general registers

Equivalent to BFM Wd, Wn, #lsb, #(lsb+width-1).

BFXIL Xd, Xn, #lsb, #width ; 64-bit general registers

Equivalent to BFM Xd, Xn, #lsb, #(lsb+width-1).

Where:

Wd

Is the 32-bit name of the general-purpose destination register.

Wn

Is the 32-bit name of the general-purpose source register.

lsb

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

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.

Xn

Is the 64-bit name of the general-purpose source register.

Usage

Bitfield extract and insert at low end copies any number of low-order bits from a source register into the same number of adjacent bits at the low end in the destination register, leaving other bits unchanged.

Was this page helpful? Yes No