usat

Unsigned Saturate (A32)

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

Saturates an unsigned value to a specified bit width.

Details

The Unsigned Saturate instruction saturates an unsigned value to a specified bit width.

Pseudocode Operation

// Saturates an unsigned value to a specified bit width

Example

USAT r0, #16, r2

Encoding

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

Operands

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