delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/11/13/12:14:39

Date: Thu, 13 Nov 1997 19:12:23 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Johan Levin <johan AT technologist DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: GAS segment override
In-Reply-To: <3468BBBC.1220@technologist.com>
Message-ID: <Pine.SUN.3.91.971113191042.24843A-100000@is>
MIME-Version: 1.0

On Tue, 11 Nov 1997, Johan Levin wrote:

> Allegro does it this way:
> 	.byte 0x2e
> 	movw	___djgpp_ds_alias, %ax
> 
> But I'd like a neater wayt than to use '.byte'.
> '.byte' looks like a temporary solution.

It's not temporary, it *is* the solution.  See section 17.2 of the DJGPP 
FAQ list (v2/faq210b.zip), it explicitely tells you to do it the Allegro 
way (unless you want to get in trouble).

- Raw text -


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