[TUHS] Memory management in Dennis Ritchie's C Compiler

John Cowan cowan at ccil.org
Tue Aug 25 03:08:31 AEST 2020


On Mon, Aug 24, 2020 at 12:00 PM Dan Cross <crossd at gmail.com> wrote:


> Stacks may be at the top of the user portion of the address space; but I'd
> have to double check the details.
>

That's always true on the PDP-11 and Vax, no matter what the OS, because
the processor architecture (which has pre-increment and post-decrement
instructions, but not their counterparts) makes anything but a
downward-growing stack unmanageable.  In OSes without virtual memory like
RSX-11[ABC], RT-11, and mini-Unix/LSX-11, what counts as the top naturally
varies.

Dennis's compiler AFAIK was never extended to anything but the PDP-11, both
as host and target.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200824/64bf3657/attachment.htm>


More information about the TUHS mailing list