The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: "Nelson H. F. Beebe" <beebe@math.utah.edu>
To: tuhs@minnie.tuhs.org
Subject: Re: [TUHS] Unix quix
Date: Fri, 24 Jan 2020 12:38:32 -0700	[thread overview]
Message-ID: <CMM.0.95.0.1579894712.beebe@gamma.math.utah.edu> (raw)

On 1/22/20, Noel Chiappa <jnc@mercury.lcs.mit.edu> wrote:

> Pretty interesting machine, if you study its instruction set, BTW; with no
> stack, subroutines are 'interesting'.

Another machine family like that was the CDC 6x00 and 7x00 machines of
the late 1960s and early 1970s.  

I worked on a CDC 6400 for a few years.  A call was done by storing
the return address in the first word of the called routine, and
jumping to its second word.  The return was done with an indirect jump
through the first word.

That was fine for Fortran, which at the time had no concept of
recursion.  However, Urs Ammann implemented a compiler for Niklaus
Wirth's Pascal language on a CDC 6400 (or 6600) in Zurich, and he had
to simulate a stack.  See

	On Code Generation in a PASCAL Compiler
	Software --- Practice and Experience 7(3) 391--423 May/June 1977
	https://doi.org/10.1002/spe.4380070311

I have read that article in the past, but don't have download access
from our academic library to get a copy to refresh my memory.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe@math.utah.edu  -
- 155 S 1400 E RM 233                       beebe@acm.org  beebe@computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------

             reply	other threads:[~2020-01-24 19:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24 19:38 Nelson H. F. Beebe [this message]
2020-01-24 20:05 ` Bakul Shah
  -- strict thread matches above, loose matches on Subject: below --
2020-01-22 20:49 Doug McIlroy
2020-01-22 23:06 ` Rob Pike
2020-01-23 15:56   ` Leah Neukirchen
2020-01-24  2:44     ` Warner Losh
2020-01-24 14:49       ` Clem Cole
2020-01-24 16:34         ` Jon Steinhart
2020-01-26  0:03           ` Heinz Lycklama
2020-01-24 16:40         ` Warner Losh
2020-01-22 18:42 Noel Chiappa
2020-01-24 18:57 ` Paul Winalski
2020-01-30  4:00 ` Dave Horsfall
2020-01-30  6:32   ` Angelo Papenhoff
2020-01-20 20:28 Rob Pike
2020-01-20 21:06 ` Adam Thornton
2020-01-22  9:31 ` Rob Pike
2020-01-22 14:57   ` Dan Cross
2020-01-22 17:54     ` Warner Losh
2020-01-22 18:01       ` Vincenzo Nicosia
2020-01-22 18:21       ` Clem Cole
2020-01-22 19:42         ` Warner Losh
2020-01-22 20:42           ` Clem Cole
2020-01-22 23:10             ` Rob Pike
2020-01-22 23:34             ` Warner Losh
2020-01-22 23:42               ` Clem Cole
2020-01-22 19:00       ` Warner Losh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CMM.0.95.0.1579894712.beebe@gamma.math.utah.edu \
    --to=beebe@math.utah.edu \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).