_DSubSatInt (Windows CE 5.0)
This operation doubles Rn and saturates, then subtracts the result from Rm and saturates. This operation affects the sticky-overflow bit 'Q' if overflow occurs in the subtraction.
int _DSubSatInt(intArg1,int Arg2);
Parameters
- Arg1
[in] The doubled Arg2 is subtracted from this integer*.* It is the contents of the value in Rm. - Arg2
[in] This integer is doubled. It is the contents of the value in Rn.
Return Values
The value that results from the arithmetic performed.
Remarks
The compiler translates this instruction into the qdsub assembly instruction.
Requirements
Header: Armintr.h.
See Also
ARM DSP-enhanced Intrinsic Functions | _DAddSatInt
Send Feedback on this topic to the authors