#include <in430.h> unsigned _DSUB16(unsigned x, unsigned y);
_DSUB16 subtracts y from x using decimal arithmetic. Both x and y must be binary coded decimal numbers and the result is a binary coded decimal number.
_DSUB16 is an intrinsic function and produces inline code.
_DSUB16 can be used on any MSP430 device.