ssat

Signed Saturate (A32)

SSAT<c> <Rd>, #<imm>, <Rm> {, <shift>}

Saturates a signed value to a specified bit width.

Details

The Signed Saturate instruction saturates a signed value to a specified bit width.

Pseudocode Operation

// Saturates a signed value to a specified bit width

Example

SSAT r0, #16, r2

Encoding

Binary Layout
cond
011010
sat_imm
Rd
shift_imm
01
Rm
 
Format Data Proc
Opcode 0x06A00010
Extension A32 (DSP)

Operands

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