2-20-2015
Math problem in a 64-bit GoAsm program
Field A dd 0 ; BSTA
Field B dd 0 ; GTotalAccum1
mov eax,[BSTA] (A)
add [GTotalAccum1],eax (B)
BSTA contains 177,136,020
GTotalAccim1 contains 1,980,760,000
These 2 fields are added and the result is a negative
number - -2,137,071,076
Max size for DD is 4,294,967,295
The fields are presented using a messagebox.
Is it possible that the messagebox is dropping zeros and
the fields are bigger than shown in the messagebox?
Your insight would be appreciated.