Hi,
On Thu, 24 Aug 2017, LacaK wrote:
> Thank you!
> I have hoped, that there is some kind of direct usage. Because
> "fstp a" is compiled into:
>fstps -0x24(%ebp) // address of local variable "a" on stack
> and "pa^ := a" into:
>mov-0x4(%ebp),%eax
>mov-0x40(%eax),%edx // p
> 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
Am 24.08.2017 08:32 schrieb "LacaK" :
>
> 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
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