Reputation: 9013
Can someone explain to me decimal to hex conversion algorithm in assembly?I have a decimal value in a variable and I should print it as a hex value.Print should look like this: 34AC6 .
Upvotes: 1
Views: 4300
Reputation: 727067
Assuming that this is a homework, here's a couple of hints:
0x0F
, and indexing into an array of hexadecimal digits.Upvotes: 2