You copied the Doc URL to your clipboard.

ARM Compiler armasm User Guide : SXTB

SXTB

Signed Extend Byte.

This instruction is an alias of SBFM.

Syntax

SXTB Wd, Wn ; 32-bit general registers

Equivalent to SBFM Wd, Wn, #0, #7.

SXTB Xd, Wn ; 64-bit general registers

Equivalent to SBFM Xd, Xn, #0, #7.

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(Wn7:0), where R is either W or X.

Was this page helpful? Yes No