The & (address) operator and register allocation
The Demented Teddy Bear
dieter at titan.nmt.edu
Mon Dec 5 07:40:00 AEST 1988
In article <1988Dec3.221843.28966 at utzoo.uucp>,
henry at 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 at relay.cs.net
dieter at jupiter.nmt.edu
More information about the Comp.lang.c
mailing list