Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: Hans-Peter Diettrich Newsgroups: comp.compilers Subject: Re: The different groups and segments of object files Date: Thu, 25 Jun 2020 22:52:49 +0200 Organization: Compilers Central Lines: 22 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <20-06-022@comp.compilers> References: <20-06-004@comp.compilers> <20-06-006@comp.compilers> <20-06-021@comp.compilers> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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 X-submission-address: compilers@iecc.com X-moderator-address: compilers-request@iecc.com X-FAQ-and-archives: http://compilers.iecc.com In-Reply-To: <20-06-021@comp.compilers> Xref: csiph.com comp.compilers:2543 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