
September 25th, 2008, 01:21 AM
|
|
Registered User
|
|
Join Date: Sep 2008
Posts: 1
Time spent in forums: 9 m 55 sec
Reputation Power: 0
|
|
Quote: | Originally Posted by kashyap Hi,
It would be great if someone could explain to me how to convert hex to decimal (0-99). I know i need to use the mnemonic "DA A", but hiw dun really know how it works. Can some please help thanx. |
DA A instruction is only for conversion to BCD. For decimal number you take first character (MSD) convert to value 0 - 15 (char 0-F), multiply by 16 and then add second character (LSD) value 0 - 15 (char 0-F).
|