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