views:

125

answers:

0

I am trying to write a function to convert hexadecimal values to decimal values using Nasm. The basic method would be to take the hex number and multiply by 16 to the power of the place you are in (tens {0}, hundreds {1}, etc). I cannot think of how to write this in the assembler.