16.163 UBFIZ

Unsigned Bitfield Insert in Zero.

This instruction is an alias of UBFM.

The equivalent instruction is UBFM Wd, Wn, #(-lsb MOD 32), #(width-1).

Syntax

UBFIZ Wd, Wn, #lsb, #width ; 32-bit

UBFIZ Xd, Xn, #lsb, #width ; 64-bit

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 destination bitfield, in the range 0 to 31.
64-bit general registers
Is the bit number of the lsb of the destination 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

Unsigned Bitfield Insert in Zero zeros the destination register and copies any number of contiguous bits from a source register into any position in the destination register.

Non-ConfidentialPDF file icon PDF versionDUI0801J
Copyright © 2014–2017, 2019 Arm Limited or its affiliates. All rights reserved.