www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/13/11:04:31

From: elf AT netcom DOT com (Marc Singer)
Message-Id: <199605131457.HAA17734@netcom3.netcom.com>
Subject: Re: Loading Selectors
To: martynas DOT kunigelis AT vm DOT ktu DOT lt (Martynas Kunigelis)
Date: Mon, 13 May 1996 07:57:15 -0700 (PDT)
Cc: djgpp AT delorie DOT com (DJGPP List Alias)
In-Reply-To: <199605130945.FAA12824@delorie.com> from "Martynas Kunigelis" at May 13, 96 12:32:31 pm
MIME-Version: 1.0

> GCC has no constraints for segment registers, because it never uses
> them. What the heck are they for in flat memory model from a
> compiler's point of view?

I believe that segment registers all point to the same selector in
FLAT model.  If they do not, some instructions won't work such as the
string move instructions.  I can't see any reason for the compiler to
KNOW about segment registers.

Marc

- Raw text -


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