You copied the Doc URL to your clipboard.

SXTH

Sign Extend Halfword.

This instruction is an alias of SBFM.

Syntax

SXTH Wd, Wn ; 32-bit general registers

Equivalent to SBFM Wd, Wn, #0, #15

SXTH Xd, Wn ; 64-bit general registers

Equivalent to SBFM Xd, Xn, #0, #15

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.

Usage

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.

Was this page helpful? Yes No