Share via


_DSubSatInt (Windows Embedded CE 6.0)

1/5/2010

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.

Syntax

int _DSubSatInt(
  int Arg1,
  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

Architecture ARM10, ARM-DSP
Header armintr.h
Routine _DSubSatInt

See Also

Reference

ARM DSP-enhanced Intrinsic Functions
_DAddSatInt