Re: restated question about externals
- From: "e p chandler" <epc8@xxxxxxxx>
- Date: 5 Oct 2005 09:16:48 -0700
glen herrmannsfeldt wrote:
> Gordon Sande wrote:
> (snip about requirements for a stack)
>
> > Most early Fortrans were based on static allocation and that even included
> > the aguement lists and return addresses. If you inadvertently had a
> > recursive
> > call there was no way back as the return would always be to one self (or
> > the daisy chain). Stacks were a new fangled thing associated with the
> > minicomputers like the various PDPs. Which as was recently noted were
> > not computers to fool the bean counters and paper pushers.
>
> Likely the reason why F66 and F77 disallow recursion.
>
> S/360 and S/370 don't have stacks, and the compilers I know for
> them use static variables and static register save areas.
>
Perhaps this is why a number of MS-DOS Fortran compilers with mainframe
heritage pass a pointer to an argument list (consisting of pointers to
arguments perhaps intermixed with string lengths, etc.) in ES:BX.
-- Elliot
.
- References:
- Re: restated question about externals
- From: Jugoslav Dujic
- Re: restated question about externals
- From: Gordon Sande
- Re: restated question about externals
- From: glen herrmannsfeldt
- Re: restated question about externals
- Prev by Date: Re: hash functions
- Next by Date: Re: What am I doing wrong? Passing pointers to subroutines.
- Previous by thread: Re: restated question about externals
- Next by thread: Re: restated question about externals
- Index(es):
Relevant Pages
|