Share via


_DSubSatInt

9/7/2007

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

Routine Required header Architecture

_DSubSatInt

<armintr.h>

ARM10, ARM-DSP

See Also

Reference

ARM DSP-enhanced Intrinsic Functions
_DAddSatInt