BCD_TO_DECIMAL
#define MAJOR(x) BCD_TO_DECIMAL(((x) >> 8) & 0xff)
#define MINOR(x) BCD_TO_DECIMAL((x) & 0xff)