Path: csiph.com!xmission!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!nerds-end From: "Derek M. Jones" Newsgroups: comp.compilers Subject: Re: PR1ME C compiler sources Date: Sat, 28 Sep 2019 00:48:33 +0100 Organization: virginmedia.com Lines: 26 Sender: news@iecc.com Approved: comp.compilers@iecc.com Message-ID: <19-09-014@comp.compilers> References: <19-09-003@comp.compilers> <19-09-004@comp.compilers> <19-09-006@comp.compilers> <19-09-007@comp.compilers> <19-09-009@comp.compilers> <19-09-013@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="13341"; mail-complaints-to="abuse@iecc.com" Keywords: C, design, history Posted-Date: 28 Sep 2019 08:39:31 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: <19-09-013@comp.compilers> Content-Language: en-US Xref: csiph.com comp.compilers:2364 Dennis, > For the Prime/Conboy/Pacer compiler: > > https://sysovl.info/pages/blobs/prime/devel/C%20Users%20Guide%20T3.0-23.0%20DOC7534-4LA%201990.pdf Thanks. The characteristics of the C compiler make it one of the most unusual I have seen. A discussion that crops up every now and again within the C committee, is whether there are any processors that will trap if some pattern of bits (usually a pointer value) is loaded into a register (but not used to access storage). I see that the PR1ME pointer value included fault and ring bits. But the register set does not appear to contain special address registers. Do you know if casting an integer to a pointer result could create a value that trapped when the pointer was loaded into a register? I assume it could trap if an attempt was made to treat the value as an address. -- Derek M. Jones blog:shape-of-code.coding-guidelines.com