So if eax is the return of a double* (the address to a double) how would one put the value of a double (REAL8) into that location?
At the moment my code is as follows
call getDouble; c++ extrn that returns double
fstp tempDouble
call newDouble; c++ extrn that returns a new double*
lea edx, tempDouble
mov REAL8 [eax], [edx]
The last line is that keeps giving me issues. EAX has the double* value (address to a memory block to a new double) and EDX has the address to a double variable. I'm trying to copy the value stored at the EDX address to what's at the EAX address.