Re: The different groups and segments of object files

Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Thu, 25 Jun 2020 22:52:49 +0200

          From comp.compilers

Related articles
The different groups and segments of object files johann@myrkraverk.com (Johann 'Myrkraverk' Oskarsson) (2020-06-19)
Re: The different groups and segments of object files gah4@u.washington.edu (2020-06-19)
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-20)
Re: The different groups and segments of object files gah4@u.washington.edu (2020-06-21)
Re: The different groups and segments of object files johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-25)
Re: The different groups and segments of object files johann@myrkraverk.invalid (Johann 'Myrkraverk' Oskarsson) (2020-06-25)
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-25)
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-25)
Re: The different groups and segments of object files DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-06-26)
Re: The different groups and segments of object files gah4@u.washington.edu (2020-07-02)
| List of all articles for this month |

From: Hans-Peter Diettrich <DrDiettrich1@netscape.net>
Newsgroups: comp.compilers
Date: Thu, 25 Jun 2020 22:52:49 +0200
Organization: Compilers Central
References: 20-06-004 20-06-006 20-06-021
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="38071"; mail-complaints-to="abuse@iecc.com"
Keywords: code, history
Posted-Date: 25 Jun 2020 17:09:03 EDT
In-Reply-To: 20-06-021

Am 25.06.2020 um 17:13 schrieb Johann 'Myrkraverk' Oskarsson:


> Do you know if group names have any meaning in the modern world?  DGROUP
> seems like a traditional name.  The OW disassembler tells me this when I
> apply it to output from the C compiler, GROUP: 'DGROUP' CONST, CONST2,
> _DATA.


The segment groups allowed for a single common base (selector) to access
data segments from various object modules.


> This group does not seem to list the _TEXT segment, which is
> where the code lives.


Right, DGROUP names the default DATA group. One could have multiple data
groups, equivalent to FORTRAN COMMON areas.


I was wondering about the use of the segment registers of the 8086 until
I came across the segment group model. Only then those composite
addresses made sense, without reloading a sement register with every
single data access.


DoDi


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.