• BCD Mathematicd
    Hi, I need some help with BCD mathematics , like adding / subtracting packed BCD pairs. How can we do it in C? Regards Kishor
  • BCD to BIN
    Hello. I need a procedure of translation of 16-bit number from BCD to BIN. Thanks.
  • BCD to binary
    How can convert 32-bit BCD to Binary vise-versa.?
  • ASCII to BCD conversion
    I am trying to use the following code to convert 2 digit ASCII numbers to BCD number, for setting RTC Clock DS1307. unsigned char ASCII_TO_BCD(unsigned char ascii_text[2]) { unsigned char bcd_value;...
  • Need BINARY to BCD function
    Hi, Does anyone know how to convert a BINARY 8 bit to a 2 digit packed BCD. Example if I have value 0x0C (wich is 12 decimal) the result will be 12 or a char value of 0x12. thank you, Adi...