16.135 SBFM

Signed Bitfield Move.

This instruction is used by the aliases:

  • ASR (immediate).
  • SBFIZ.
  • SBFX.
  • SXTB.
  • SXTH.
  • SXTW.

Syntax

SBFM Wd, Wn, #<immr>, #<imms> ; 32-bit

SBFM Xd, Xn, #<immr>, #<imms> ; 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.
<immr>

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>

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.
Xn
Is the 64-bit name of the general-purpose source register.

Usage

Signed Bitfield Move 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, shifting in copies of the sign bit in the upper bits and zeros in the lower bits.

Non-ConfidentialPDF file icon PDF versionARM 100069_0608_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.