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
Operands
-
Rd
Destination general-purpose register -
imm
Bit Position -
Rm
Second source / offset general-purpose register