_SubSatInt

This ARM DSP-enhanced operation performs a saturating subtract instruction. It subtracts the value in Rn from the value in Rm, and places the result in register Rd. This operation affects the sticky-overflow bit 'Q' if overflow occurs in the subtraction.

int _SubSatInt(
  int Arg1,
  int Arg2
);

Parameters

  • Arg1
    [in] The first term in the difference, the contents of Rm.
  • Arg2
    [in] The second term in the difference, the contents of Rn.

Return Values

The result of the binary arithmetic.

Remarks

The compiler translates this intrinsic into the qsub assembly instruction.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Armintr.h.

See Also

ARM DSP-Enhanced Intrinsic Functions | _AddSatInt

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.