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