In article <32ec9c34.617565772@news.sci.fi> 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...