floating point multiplication
Hi,
Recently I've been tryin to multiply two 64 bit variables in Assembly language using the FPU. Now I go like finit fld var1 fld var2 fmul fwait fstp result call display ;a function for displaying the result variable all I get is either equal to var1 or 0 I does not multiply say var1 = 4 var2 = 2 I should get 8, but I get 4 I use MASM 6.11 (I will try NASM out, but its part of a project which has to be done on Windoze) Floating point addition and subtraction works fine |
All times are GMT -5. The time now is 05:32 PM. |