Good job HTRegz .. i ever learnt it in college .
here's the BCD ( Binnary Code Decimal ) and how to convert the Binnary to BCD.
anyway this is a good post.. well done mate.

:)