www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/07/02:12:17

Date: Mon, 7 May 2001 09:13:57 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Assembler smal question
In-Reply-To: <9d485u$4qi$1@node17.cwnet.roc.gblx.net>
Message-ID: <Pine.SUN.3.91.1010507091338.19812F@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 6 May 2001, Alexei A. Frounze wrote:

> with AT&T you need to have those b/w/l everytime, even when obvious "mov ax,
> 1" is considered, it would be "movw $1, %ax".

I don't think this is true anymore, at least not everywhere.  Did you
try Gas from Binutils 2.11?

> > You can tell the compiler exactly what register it clobbers
> > e. g.. m not good at bcc
> 
> Yes, this is nice and may be useful for the optimizer, though if you know
> what bcc expects to be preserved, you will do fine too.

I don't think you can know that, since it is not documented anywhere
(AFAIK).

- Raw text -


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