Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site gatech.UUCP Path: utzoo!watmath!clyde!akgua!gatech!wan From: wan@gatech.UUCP (Peter N. Wan) Newsgroups: net.unix-wizards Subject: Re: PRIME pointer sizes Message-ID: <4139@gatech.UUCP> Date: Fri, 24-Feb-84 00:20:44 EST Article-I.D.: gatech.4139 Posted: Fri Feb 24 00:20:44 1984 Date-Received: Sat, 25-Feb-84 07:28:22 EST References: <59@datagen.UUCP> Organization: School of ICS, Georgia Tech (Atlanta, Georgia) Lines: 22 Aha.... I knew there was an article that I wanted to respond to, but couldn't find it in my stack of printouts. There are two C language compilers available for Prime machines that I am aware of. The first one is the one put out by Prime Computer (it was originally from Primarily Software, Inc., I believe). This compiler does indeed use different-sized pointers (48-bit pointers consist of a segment number, word offset within that segment, and then a bit specification in the field address registers). Their 32-bit pointers are just the segment number and word offset. The other compiler is the one licensed by the School of ICS at Georgia Tech with their Software Tools implementation for Primes. This compiler generates 32-bit pointers (character arrays are stored one character per word). Since I have not worked much with the Prime C compilers, I had to ask one of our Prime gurus about the preceding; a rather short disassembly session yielded the above information. I don't know if other code might be generated for cases such as struct pointers, etc. -- Peter N Wan WHAT : GaTech System Administrator, CSNET Technical Liaison MAIL : School of ICS, Georgia Tech, Atlanta, Georgia 30332 BELL : (404) 894-3658 [office] / (404) 894-3152 [messages] UUCP : ...!{akgua,allegra,emory,rlgvax,sb1,ut-ngp,ut-sally}!gatech!wan ARPA : wan.gatech@CSNet-Relay CSNET : wan@gatech