Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!pacbell!att!ihlpb!gregg From: gregg@ihlpb.ATT.COM (Wonderly) Newsgroups: comp.lang.c Subject: Re: Different pointer representations on the same machine Message-ID: <9626@ihlpb.ATT.COM> Date: 16 Feb 89 20:45:51 GMT References: <3675@arcturus> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 15 In article <3675@arcturus> evil@arcturus.UUCP (Wade Guthrie) writes: >I have seen references on the net to computers which have different >representations for different types of pointers (even some computers >which represent different types of pointers as different sizes). > >Could I have some examples... The middle model of the typical 80x86 C compiler is a great example. Typically, pointers to text are FAR (selector/segment plus offset) while pointers to data are NEAR (just offset). While there is not a model (that I have seen) that is the other way, it is a conceivable alternative. -- Gregg Wonderly DOMAIN: gregg@ihlpb.att.com AT&T Bell Laboratories UUCP: att!ihlpb!gregg