#include <in430.h>
unsigned long long _DNEG64(unsigned long long x);
_DNEG64 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.
_DNEG64 is an intrinsic function and produces inline code.
_DNEG64 can be used on any MSP430 device.