www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/21/04:41:22

Date: Wed, 21 Feb 1996 11:34:38 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Brian Walters <bwalters AT ramlink DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: gs segment selector points to conventional memory area
In-Reply-To: <4gedee$dmc@ram2.ramlink.net>
Message-Id: <Pine.SUN.3.91.960221113035.2687A-100000@is>
Mime-Version: 1.0

On 21 Feb 1996, Brian Walters wrote:

>   My question is: Is it safe to use gs as the conventional memory
> selector?

Don't.  GS is used by library routines which need to access conventional 
memory with `farptr' functions, and thus GS value is subject to change 
without notice, even if your code doesn't call any library functions 
(some hardware interrupt handler could, for example).

- Raw text -


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