delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/24/13:16:16

Date: Fri, 24 Mar 2000 22:37:42 +0500
Message-Id: <200003241737.WAA00845@midpec.com>
From: tr AT midpec DOT com (Prashant TR)
To: djgpp AT delorie DOT com
In-reply-to: <38DA73F1.FB5C375B@mtu-net.ru> (alex.fru@mtu-net.ru)
Subject: Re: Q: operand size - FPU instructios
References: <38DA73F1 DOT FB5C375B AT mtu-net DOT ru>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

"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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019