16.153 SXTB

Signed Extend Byte.

This instruction is an alias of SBFM.

The equivalent instruction is SBFM Wd, Wn, #0, #7.

Syntax

SXTB Wd, Wn ; 32-bit

SXTB Xd, Wn ; 64-bit

Where:

Wd
Is the 32-bit name of the general-purpose destination register.
Xd
Is the 64-bit name of the general-purpose destination register.
Wn
Is the 32-bit name of the general-purpose source register.

Operation

Signed Extend Byte extracts an 8-bit value from a register, sign-extends it to the size of the register, and writes the result to the destination register.

Rd = SignExtend(Wn<7:0>), where R is either W or X.

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