NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: maplesirop on February 24, 2013, 02:33:56 AM
-
If I have an input
mov eax, 3
mov ebx, 0
mov ecx, input
mov edx, 10
int 0x80
how do I convert input into a decimal number?
-
Check this post
http://forum.nasm.us/index.php?topic=1578.msg6555#msg6555 (http://forum.nasm.us/index.php?topic=1578.msg6555#msg6555)
-
thanks
mov eax, 3
mov ebx, 0
mov ecx, input
str2int data
mov edx, 10
int 0x80
would this convert ecx into an int decimal?