Mail Archives: djgpp/2000/03/24/13:16:16
"Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru> proclaimed:
> I'm wondering why the following stuff doesn't work for FPU...
>
> MOVB deals with bytes
> MOVW deals with words
> MOVL deals with double words
Because these registers can't be used by the FPU.
> But FILDW (word), FLDQ (eight bytes) and FLDT (10 bytes - extended
> precision) don't work.
> What's wrong?
You probably used the wrong syntax. Try this
fldt %st(0)
And, of course, it depends on what you mean by "didn't work?", i.e.,
whether you got a compiler error or the runtime results weren't right.
- Raw text -