Re: Fortran calls, was PL/I code

glen herrmannsfeldt <gah@ugcs.caltech.edu>
Sun, 6 May 2012 05:13:44 +0000 (UTC)

          From comp.compilers

Related articles
[2 earlier articles]
Re: PL/I nostalgia robin51@dodo.com.au (robin) (2012-04-25)
Re: PL/I nostalgia gah@ugcs.caltech.edu (glen herrmannsfeldt) (2012-04-24)
Re: PL/I nostalgia robin51@dodo.com.au (robin) (2012-04-28)
Re: PL/I nostalgia gah@ugcs.caltech.edu (glen herrmannsfeldt) (2012-04-28)
Re: PL/I code robin51@dodo.com.au (robin) (2012-05-05)
Re: PL/I code gah@ugcs.caltech.edu (glen herrmannsfeldt) (2012-05-05)
Re: Fortran calls, was PL/I code gah@ugcs.caltech.edu (glen herrmannsfeldt) (2012-05-06)
Re: Archaic hardware (was Fortran calls) robin51@dodo.com.au (robin) (2012-05-09)
| List of all articles for this month |

From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: comp.compilers
Date: Sun, 6 May 2012 05:13:44 +0000 (UTC)
Organization: Aioe.org NNTP Server
References: 12-04-070 12-04-077 12-04-081 12-04-082 12-04-084 12-04-085 12-05-004 12-05-005
Keywords: Fortran, history
Posted-Date: 06 May 2012 13:23:52 EDT

(snip, I wrote)
> For the PDP-10/TOPS-10 Fortran, return addresses went on the stack,
> but local variables were still static, as usual for Fortran IV.


> [That must be the new PDP-10 compiler. The old compiler, which looked
> a whole lot like OS/360 Fortran G, used JSA/JRA for subroutine calls,
> which saved the return address register in the first word of the
> subroutine. -John]


I remembered the PDP-8 using the "store the return address in the
first word" method, but, yes, there was an earlier PDP-10 compiler.
The one I used was, I believe, called Fortran-10 and the older one
Fortran-40. (I am less sure about the latter, as I don't remember ever
using it.)


I did write some Fortran callable Macro-10 programs.


-- glen
[Yup, that's the one I used. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.