Partager via


_AddSatInt

This ARM DSP-enhanced operation performs a saturating add instruction. It adds registers Rm and Rn, and places the result in register Rd. It affects the sticky-overflow bit 'Q' if overflow occurs in the addition.

int _AddSatInt(
  int Arg1,
  int Arg2
);

Parameters

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

Return Values

The result of the binary arithmetic.

Remarks

The compiler translates this instruction into the qadd assembly instruction.

Requirements

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

See Also

ARM DSP-Enhanced Intrinsic Functions | _SubSatInt

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.