From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: f7344,9d5e1d36489fe2af X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,8dea03f3432f9a82 X-Google-Attributes: gid1164f8,public X-Google-Thread: fd705,8dea03f3432f9a82 X-Google-Attributes: gidfd705,public From: morris@cogent.net (Mike Morris) Subject: Re: CDC-6600 Date: 1997/01/17 Message-ID: #1/1 X-Deja-AN: 210598822 references: <1E061566A2E@orchid.le.ac.uk> <32CBACD3.2AC0@videotron.ca> <5bjd8q$gs2@tst.hk.super.net> <5blac1$bnq@news-central.tiac.net> <5blln1$20lo@ausnews.austin.ibm.com> keinanen@sci.fi (Paul Kein�nen) writes: >From: keinanen@sci.fi (Paul Kein�nen) >Subject: Re: CDC-6600 >Date: Fri, 17 Jan 1997 16:53:45 GMT >moroney@world.std.com (Michael Moroney) wrote: >> >>Another interesting feature of this machine was no stack. Also subroutines >>were implemented such that the HARDWARE performed self-modifying code! >>(The first word of a subroutine was left blank and the subroutine call >>instruction wrote a Branch to the instruction after the subroutine call into >>this cell! The subroutine "returned" by branching to this cell!) >The 16 bit Honeywell DDP516 used a similar trick. The processor stored >the return address at the first word of the subroutine. Return from >subroutine was done by performing an indirect jump through this word. The Varian machines (520i, 620f, V73, etc. did the same thing. Made writing re-entrant code a real bitch...