FILD doubt
Vikas N Kumar
walburn at gmail.com
Wed Aug 30 23:35:36 PDT 2006
Hi
I am trying to use the FILD instruction on the 64-bit AMD64 machine,
and I am having the following error.
If my code is as below
fild rax
I get the error " invalid combination of opcode and operands", when
assembling. So i try the memory address use instead of rax,
fild [rbp-8] and i still get the same error.
Any help will be appreciated.
How do i place an int in the floating point stack and why is the above
error occurring ?
If I use cvtsi2sd it will work fine, but then how do i multiple two
xmm registers which have only one double precision number in them. As
in, I load one double-precision number in XMM0 and one in XMM1, but
what instruction do i use to multiply them correctly ?
Thanks
Vikas
More information about the yasm-devel
mailing list