Hello,
it may be a really stupid question, but I don't know how to store float type variable into memory:(
The code is really simple:
first I'm loading a variable from an array of floats (yes, the C float variable, usually 4 bytes long)
fld dword [eax]
fld dword [eax+4]
next, some operations are performed, such as:
fmul st1
now, I have to store the result in the same array. But it's not that simple:
fstp qword [eax]
would store the whole qword (8 bytes) in the memory, but I need a variable of 4 bytes size! The result is not located in any of the halves of ST0.
What should I do????