Non-Confidential | ![]() | DUI0801J | ||
| ||||
Home > A64 General Instructions > BFI |
Bitfield Insert.
This instruction is an alias of BFM
.
The equivalent instruction is BFM
.Wd
, Wn
, #(-lsb
MOD 32), #(width
-1)
BFI
Wd
, Wn
, #lsb
, #width
; 32-bit
BFI
Xd
, Xn
, #lsb
, #width
; 64-bit
Where:
Wd
Wn
lsb
Depends on the instruction variant:
width
Depends on the instruction variant:
lsb
.lsb
.Xd
Xn
Bitfield Insert copies any number of low-order bits from a source register into the same number of adjacent bits at any position in the destination register, leaving other bits unchanged.