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...

1) Modulo number by 10, store answer.

2) Divide number by 10, store number.

3) Go to 1.

Ask Your Question

Weekly Poll

Do you think Microsoft's new Surface Go will be a hit?

Discuss in The Lounge

Poll History