sxtb16

Signed Extend Byte 16 (A32)

SXTB16<c> <Rd>, <Rm> {, <rotation>}

Sign-extends two bytes to two halfwords.

Details

The Signed Extend Byte 16 instruction sign-extends two bytes to two halfwords.

Pseudocode Operation

// Sign-extends two bytes to two halfwords

Example

SXTB16 r0, r2

Encoding

Binary Layout
cond
01101000
1111
Rd
rot
0111
Rm
 
Format Data Proc
Opcode 0x068F0070
Extension A32 (DSP)

Operands

  • Rd
    Destination general-purpose register
  • Rm
    Second source / offset general-purpose register