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

From: "Alexei A. Frounze" <alex DOT fru AT mtu-net DOT ru>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Q: operand size - FPU instructios
Date: Fri, 24 Mar 2000 22:48:16 +0300
Organization: MTU-Intel ISP
Lines: 26
Message-ID: <38DBC680.3B37E90F@mtu-net.ru>
References: <38DA73F1 DOT FB5C375B AT mtu-net DOT ru> <200003241737 DOT WAA00845 AT midpec DOT com>
NNTP-Posting-Host: ppp96-180.dialup.mtu-net.ru
Mime-Version: 1.0
X-Trace: gavrilo.mtu.ru 953927674 64712 212.188.96.180 (24 Mar 2000 19:54:34 GMT)
X-Complaints-To: usenet-abuse AT mtu DOT ru
NNTP-Posting-Date: 24 Mar 2000 19:54:34 GMT
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en,ru
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

I mean I can't tell to the AS that a variable is (let's say) double.
B,W and L suffixes tells AS that it must treat an integer variable as
either byte or word or double word.

But appending these suffixes to FPU instructions, I get error messages
like "invalid instruction" or something like that. I.e. AS doesn't
recognize FILDW (for 16-bit integer), FLDQ (floating point double), FLDT
(floating point extended - FPU internal 10-byte format).


So is it possible to tell AS that some variable has size of N bytes (for
FPU instructins, not CPU ones)?

Alexei A. Frounze

Prashant TR wrote:
> 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