lundi 14 avril 2014

Assembly x86 append numbers to a variable


Vote count:

0




I'm reading an input numeric string, iterate it character by character to convert each digit in decimal.


Now at every iteration in one of my register, example AL, i have the single digit, let's say



Input: 12345678
Iteration_1 : 1
Iteration_2 : 2
...
Iteration_8 : 8


I would like to add these integers to a DD variable, so that at the end of the iteration i would have a DD variable containing the whole number that i could use for operation.


Has this sense? How could i append at each iteration the current number to the DD variable?



asked 2 mins ago






Aucun commentaire:

Enregistrer un commentaire