Synopsis
#include <inmsp.h>
unsigned long __bcd_subtract_long(unsigned long x, unsigned long y);
Description

__bcd_subtract_long 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.

__bcd_subtract_long is an intrinsic function and produces inline code.

Portability

__bcd_subtract_long can be used on any MSP430 device.