| www.delorie.com/archives/browse.cgi | search |
| From: | Maurice Lombardi <Maurice DOT Lombardi AT ujf-grenoble DOT fr> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Segment and Offset of Variables -- HOW? |
| Date: | Thu, 03 Apr 2003 17:24:48 +0200 |
| Organization: | Universite Joseph Fourier - Grenoble 1 |
| Lines: | 26 |
| Message-ID: | <3E8C5240.7000808@ujf-grenoble.fr> |
| References: | <n2n48vcfklse00bgdpdeu53ps2ep1bq5cv AT 4ax DOT com> |
| NNTP-Posting-Host: | knautie.ujf-grenoble.fr |
| Mime-Version: | 1.0 |
| X-Trace: | rhone.ujf-grenoble.fr 1049383303 26300 152.77.252.196 (3 Apr 2003 15:21:43 GMT) |
| X-Complaints-To: | abuse AT ujf-grenoble DOT fr |
| NNTP-Posting-Date: | Thu, 3 Apr 2003 15:21:43 +0000 (UTC) |
| User-Agent: | Mozilla/5.0 (Windows; U; Win98; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
| X-Accept-Language: | fr-fr, it, en |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Radical a écrit:
> I have not yet received any useful reponse to this question,
> either nobody knows, or they are just too stuck-up to help us
> understand this...
>
> I wish to know how I would obtain the Address of a Variable,
> such that it can also be broken down into its Segment and
> Offset,
> its AOK it I can directly obtain the Segment and Offset information in
> separate calls.
DJGPP has a flat 32 bits address space.
There is no Segment nor Offset in this scheme.
You are probably familiar with old 16 bits compilers which used this scheme.
Maurice
--
Maurice Lombardi
Laboratoire de Spectrometrie Physique,
Universite Joseph Fourier de Grenoble, BP87
38402 Saint Martin d'Heres Cedex FRANCE
Tel: 33 (0)4 76 51 47 51
Fax: 33 (0)4 76 63 54 95
mailto:Maurice DOT Lombardi AT ujf-grenoble DOT fr
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |