delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/16/06:43:01

Date: Sun, 16 Nov 1997 13:35:42 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Gurunandan R. Bhat" <grbhat AT unigoa DOT ernet DOT in>
cc: Johan Levin <johan AT technologist DOT com>, djgpp AT delorie DOT com
Subject: Re: GAS segment override
In-Reply-To: <Pine.LNX.3.91.971112122555.8563B-100000@aditya.unigoa.ernet.in>
Message-ID: <Pine.SUN.3.91.971116133521.358C-100000@is>
MIME-Version: 1.0

On Wed, 12 Nov 1997, Gurunandan R. Bhat wrote:

> I am not very sure of this but I suspect that the trailing : is the 
> culprit. In gas you give a segment override by just writing a cs, for 
> example:
> 
> 	cs
> 	movw	___djgpp_ds_alias, %ds

Please note that AFIK, using segment overrides with Gas is dangerous,
as the DJGPP FAQ explains in section 17.2.

If the latest versions of Gas don't have this problem, please tell me
and I will amend the FAQ.  But please make *very* sure that the
problem was fixed, because it can produxe very nasty bugs.

- Raw text -


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