Xref: utzoo comp.arch:7462 comp.lang.c:14544 Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!unmvax!nmtsun!dieter From: dieter@titan.nmt.edu (The Demented Teddy Bear) Newsgroups: comp.arch,comp.lang.c Subject: Re: The & (address) operator and register allocation Message-ID: <1586@nmtsun.nmt.edu> Date: 4 Dec 88 21:40:00 GMT References: <1224@cps3xx.UUCP> <1988Dec3.221843.28966@utzoo.uucp> Sender: dieter@nmtsun.nmt.edu Reply-To: dieter@titan.nmt.edu (The Demented Teddy Bear) Followup-To: comp.arch Organization: New Mexico Tech Lines: 18 In-reply-to: henry@utzoo.uucp (Henry Spencer) In article <1988Dec3.221843.28966@utzoo.uucp>, henry@utzoo (Henry Spencer) writes: > The original Berkeley RISC design had registers with addresses, carefully > set up in such a way that you could pass pointers to them around freely. > The idea was to maximize the ability to put local variables into registers. > I don't know of anybody commercial who's copied this idea. Umm, Henry, doesn't a PDP-10 count? Seemed kinda like a commercial system to me.... The registers certainly seemed addressable (hey, you can even point the PC at them and execute code out of them). Or have I missed something again? Dieter -- Welcome to the island. You are number six. dieter%nmt@relay.cs.net dieter@jupiter.nmt.edu