i want logic to convert hex into bcd

February 20, 2011 at 08:28:31
Specs: Windows Vista
i just want simple logic behind converting a hexadecimal no. into bcd....
like the way we convert a decimal into binary by dividing decimal by 2 n taking the remainder obtained in reverse order... whats for the hex to bcd conversion.. plz help me out...

See More: i want logic to convert hex into bcd

Report •

#1
February 20, 2011 at 16:20:33
1) Modulo number by 10, store answer.
2) Divide number by 10, store number.
3) Go to 1.

How To Ask Questions The Smart Way


Report •
Related Solutions


Ask Question