delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/02/07:26:42

Date: Tue, 2 Dec 1997 14:24:00 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Tan Pinghui <tanph AT bj DOT col DOT com DOT cn>
cc: djgpp AT delorie DOT com
Subject: Re: 16-bit & 32-bit mixed coding
In-Reply-To: <199712020207.KAA07327@public.bta.net.cn>
Message-ID: <Pine.SUN.3.91.971202142300.11994G-100000@is>
MIME-Version: 1.0

On Tue, 2 Dec 1997, Tan Pinghui wrote:

> I'm very confused by the 386's 16-bit & 32-bit mixing coding.  
> Here are some questions, please help.
> 
> (1) cs selector refers to 16-bit segment, and ds/es/fs/gs selectors to
> 32-bit segments (D=1), ss to 16-bit segment, how do the instructions
> operate? the stack? the data?

What exactly are you asking?  As far as I could see, the DJGPP's
startup code sets CS, DS and SS to 32-bit segments.  Is the question
at all related to how DJGPP programs set up their segment registers?

- Raw text -


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