#include <in430.h>
unsigned _DNEG16(unsigned x);
_DNEG16 negates (computes the 9's complement of) x using decimal arithmetic. x must be a binary coded decimal number and the result is a binary coded decimal number.
_DNEG16 is an intrinsic function and produces inline code.
_DNEG16 can be used on any MSP430 device.