Hi, I need to know how to convert BCD to hex and Hex to BCD. Thanks in advance...
Printable View
Hi, I need to know how to convert BCD to hex and Hex to BCD. Thanks in advance...
Your best bet is:
If BCD -> Hex : Convert BCD to Decimal, then that to Hex
If Hex -> BCD : Convert Hex to Decimal, then that to BCD
:D
Can't you just do the conversions directly by the use of lookup tables?
Thanks GReaper I have finished the program....