delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/16/22:23:39

Date: Sun, 16 Nov 1997 19:22:00 -0800 (PST)
Message-Id: <199711170322.TAA02323@adit.ap.net>
Mime-Version: 1.0
To: heo AT turbotek DOT co DOT kr, djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: i386 as assembler manual and fsubrp instruncion in as.

At 03:56  11/10/1997 +0900, Heo, Sung-Gwan wrote:

>Why does the as assembler use 'FSUBRP' mnemonic for opcode 'DE E9' which
>works really as 'FSUBP' instruction? 
I don't know, but it may be some bug-compatibility issue with AT&T's UNIX
386 assembler, which `as' is intended to be compatible with.
>And Where can I get the as
>assembler manual concerning the instructions?
There's no such thing, per se. But the info docs for `as' have a section on
general syntax and opcode-name issues, see the node "i386-Dependent". For
the definitive example, you can look at `as's source. Get the binutils
source distribution, and see the file `opcodes/i386-dis.c'.

I looked at that file. It seems that `fsubp' and `fsubrp' are different
according to `as'. You may want to investigate this further, and report it
as a bug if it seems to warrant it.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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