Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxl!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!sri-unix!BLARSON@ecld.#eclnet From: BLARSON@ecld.#eclnet Newsgroups: net.lang.c Subject: Prime C pointers Message-ID: <12274@sri-arpa.UUCP> Date: Thu, 9-Aug-84 16:11:22 EDT Article-I.D.: sri-arpa.12274 Posted: Thu Aug 9 16:11:22 1984 Date-Received: Sat, 11-Aug-84 06:48:00 EDT Lines: 13 From: Bob LarsonWhen casting a pointer (48 bits) to an integer or long (32 bits) using Prime C, it is changed into a byte address (not useful to prime hardware/ microcode) and the extra information (fault and ring) is apparently dropped. When casting in the reverse direction, ring 3 is assumed. (Correct for all user programs.) The only section of K&R this violates is the sentence stating that "The mapping function is also machine dependent, but is intended to be unsurprising to those who know the address structure of the machine." (14.4) Bob Larson -------