Re: Does BASM automagicaly pick up float type?




"chrisj" <a@xxx> escreveu na mensagem
news:446fc175@xxxxxxxxxxxxxxxxxxxxxxxxx
Given...

type Myrec = record
mydouble: double;
mysingle: single;
end;

will the compiler pick up the corect load target size when i do this..

fld [eax.TMyrec.mydouble]
fld [eax.TMyrec.mysingle]

cheers..

chris

Chris....

In my experience, no! you must supply the pointer size:

fld qword ptr [eax.TMyrec.mydouble]
fld dword ptr [eax.TMyrec.mysingle]

[]s
Fred


.