www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/02/12:52:39

Date: Tue, 2 Feb 1999 11:18:43 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "John S. Fine" <johnfine AT erols DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: ASM - function: what should be pushed?
In-Reply-To: <36B64EBA.6D55@erols.com>
Message-ID: <Pine.SUN.3.91.990202111806.13819O-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Mon, 1 Feb 1999, John S. Fine wrote:

> I don't think "all other registers" carries any useful information.

I think it does tell what people need to know; see DJ's message which
actually enumerates all the registers.

> What's a "register"?

Those who write assembly code surely need to know that.

>   On FS and GS, I still hate doubting Eli, but can someone
> make a stronger case one way or the other, rather than
> leave us with "the FAQ seems to say preserve them and the
> FAQ is probably correct".

I think both of these should be preserved.  It is true that FS is not
used neither by GCC nor by libc.a functions, but some other code,
either in third-party libraries or in inline assembly in the
application code, could use it.  Better be safe than sorry.

- Raw text -


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