delorie.com/archives/browse.cgi | search |
Message-Id: | <199605200720.DAA24086@delorie.com> |
Date: | Mon, 20 May 96 09:49:37 LIT |
From: | Martynas Kunigelis <martynas DOT kunigelis AT VM DOT KTU DOT LT> |
Subject: | Re: flat memory model question. |
To: | DJGPP mailing list <djgpp AT delorie DOT com> |
In-Reply-To: | Your message of 19 May 1996 22:28:02 GMT |
On 19 May 1996 22:28:02 GMT you said: > >Under a flat memory model such as djgpp, can I assume that >cs = ss = ds = es? Thanks > >Josh >snarfy AT goodnet DOT com > Basically, yes. Just cs |= ss = ds = es, because cs is a *code* selector. However base of cs = base of ds = ... . Just make sure you don't write to cs, code selectors are read-only. Martynas
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |