You copied the Doc URL to your clipboard.

SXTH

Sign Extend Halfword.

This instruction is an alias of SBFM.

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

Syntax

SXTH Wd, Wn ; 32-bit

SXTH 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

Sign Extend Halfword extracts a 16-bit value, sign-extends it to the size of the register, and writes the result to the destination register.

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

Was this page helpful? Yes No