FILD doubt

Vikas N Kumar vikasnkumar at users.sourceforge.net
Thu Aug 31 06:40:58 PDT 2006


On 8/31/06, Andrew Dunstan <a_dunstan at hotmail.com> wrote:
> will push the 64-bit int pointed to by rax onto the fp stack. The int must
> be in memory, not in a GPR.

Yea, but even the below statement gave me errors.


fild [rbp-8]

[rbp -8] is  an m64 type operand right  or is it r/m64 ?

if stack based addressing is not allowed for floating points, that is
just illogical. stack is also in memory unlike registers.

Thanks anyway, i shall try the mulsd instruction however.
Vikas


More information about the yasm-devel mailing list