8-bit HEX to BCD convertor
17 July 2011
1 min read
43740 views
|
This subroutine converts 8 bit Hexadecimal number into its equivalent BCD value. The number to be converted should be in the Accumulator. The output BCD number is stored in R0 & R1. R0 is used to save the MSB i.e. the hundreds place & R1 stores the LSB i.e. the Tens & Units place. |
|||||||||||||||||||||||||||||||||||||||||||
|
.
