Hi *,
I need store result of floating point calculation (in my example
arctan()) in memory pointed by some variable. See this code:
var a: single; pa: PSingle;
asm
fild dy
fild dx
fpatan
fstp a
fwait
end;
pa^ := a;
It works, but is there any way how to store result directly to "pa^" in
assembler ?
I have tried:
...
fpatan
fstp pa^ ... fstp (pa) ... but this does not compile ... I need
store to memory location pointed by pa "variable"
fwait
end;
Thanks
-Laco.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal