RX8581_REG_YR
tm->tm_year = bcd2bin(date[RX8581_REG_YR]) + 100;
buf[RX8581_REG_YR] = bin2bcd(tm->tm_year - 100);