qsub16
Saturating Subtract 16
QSUB16<c> <Rd>, <Rn>, <Rm>
Parallel saturating subtract of 2 signed halfwords.
Details
The Saturating Subtract 16 instruction parallel saturating subtract of 2 signed halfwords.
Pseudocode Operation
Rd ← Rn - Rm
// Flags affected: N, Z, C, V
Example
QSUB16 r0, r1, r2
Encoding
Binary Layout
cond
01100010
Rn
Rd
1111
0111
Rm
Operands
-
Rd
Destination general-purpose register -
Rn
First source / base general-purpose register -
Rm
Second source / offset general-purpose register