So here is the numbers
a = 234234
b = 2394729
c = 12323
a*b*c = 6912302836717278
but i am getting this result: 3945371358.
I think i have to use LONG because it is over the int's limit but i don't know how ,because there is no long in assembly x86 , what i have to change ? Thanks in advance
%include "io.inc"
section .bss
a resd 1
b resd 1
c resd 1
section .text
global CMAIN
CMAIN:
mov ebp, esp; for correct debugging
xor eax,eax
GET_UDEC 4,a
GET_UDEC 4,b
GET_UDEC 4,c
mov eax,dword[a]
mov ebx,dword[b]
imul ebx
mov ecx,dword[c]
imul ecx
PRINT_UDEC 4, eax
xor eax, eax
ret