sxtab16

Signed Extend and Add Byte 16

SXTAB16<c> <Rd>, <Rn>, <Rm> {, <rotation>}

Sign-extends two bytes and adds to two halfwords.

Details

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

Pseudocode Operation

Rd ← Rn + Rm
// Flags affected: N, Z, C, V

Example

SXTAB16 r0, r1, r2

Encoding

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

Operands

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