Related articles |
---|
New assembly language instructions to support OO languages? tony@my.net (Tony) (2008-12-04) |
Re: New assembly language instructions to support OO languages? bert.hutchings@btinternet.com (bert) (2008-12-04) |
Re: New assembly language instructions to support OO languages? tmk@netvision.net.il (Michael Tiomkin) (2008-12-04) |
Re: New assembly language instructions to support OO languages? cg@graysage.com (Chris Gray) (2008-12-04) |
Re: New assembly language instructions to support OO languages? gah@ugcs.caltech.edu (Glen Herrmannsfeldt) (2008-12-04) |
Re: New assembly language instructions to support OO languages? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-12-05) |
Re: New assembly language instructions to support OO languages? DrDiettrich1@aol.com (Hans-Peter Diettrich) (2008-12-05) |
Re: New assembly language instructions to support OO languages? jasen@xnet.co.nz (Jasen Betts) (2008-12-05) |
[33 later articles] |
From: | bert <bert.hutchings@btinternet.com> |
Newsgroups: | comp.compilers,comp.arch |
Date: | Thu, 4 Dec 2008 15:07:37 -0800 (PST) |
Organization: | Compilers Central |
References: | 08-12-014 |
Keywords: | architecture, history, comment |
Posted-Date: | 04 Dec 2008 19:08:27 EST |
On 4 Dec, 18:09, "Tony" <t...@my.net> wrote:
> To me, it seems like "reducing everything to a function" may be a bit
> dated given that OO languages are the thing nowadays. Can anyone
> imagine any new potential assembly language instructions that would
> make implemention of OO languages easier? (Not just necessarily the
> function thing, but anything).
I don't know about new ones, but how about resurrecting some old ones?
At least two different computers of the 1960's had an 'indirect' bit
at the high end of an address word, meaning that it pointed to another
word containing an address. In its turn, that might have the high bit
set, etcetera. An instruction to load a datum or an address would
follow such a chain of indirections until it reached the
actually-wanted item. I know this was very good for Prolog
implementations.
[Indirect addressing was quite common through the 1970s. The PDP-11
and VAX had it. But I gather that it's a challenge to implement
efficiently, and if the machine has a lot of registers, it doesn't gain
you much. -John]
Return to the
comp.compilers page.
Search the
comp.compilers archives again.