Path: utzoo!yunexus!geac!geaclib!daveb From: daveb@geaclib.UUCP (David Collier-Brown) Newsgroups: comp.lang.c Subject: Re: Different pointer representations on the same machine Message-ID: <3686@geaclib.UUCP> Date: 16 Feb 89 13:35:57 GMT Article-I.D.: geaclib.3686 References: <3675@arcturus> Organization: GEAC Computers, Toronto, CANADA Lines: 23 From article <3675@arcturus>, by evil@arcturus.UUCP (Wade Guthrie): > 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 of machines along with the pointer types and > (if possible) sizes and representations? Thanks. Sure. Honeywell DPS-6: word-addressed machine with a facility to use an offset (in bytes) into a location specified in words. int *ip ::= a register containing a word address char *cp ::= one register containing a word address another containing an offset In larger models the word address could be a register-pair, giving 32 bits for an int *, 48 for a char *. --dave (the above has changed over time) c-b -- David Collier-Brown. | yunexus!lethe!dave Interleaf Canada Inc. | 1550 Enterprise Rd. | He's so smart he's dumb. Mississauga, Ontario | --Joyce C-B