Article View: comp.sys.unisys
Article #972Re: Info about A Serie
From: MPA15AB!COMPSYSU
Date: Wed, 14 Oct 1992 02:08
Date: Wed, 14 Oct 1992 02:08
33 lines
2309 bytes
2309 bytes
> Actually, the architecture is based on numerous stacks. Generally,
> each task will have one code stack and one data stack. The use of
> libraries will increase the number of stacks associated with a task.
All running programs exist as stacks. The system maintains a stack tree,
with the operating system as the root stack.
To make it easier to do reentrant code, an extra stack is used for the
"segment dictionary" of every running program. Only one of these is
needed per unique program, no matter how many copies of it are running.
The segment dictionary contains descriptors for every code segment in
the program, and static data (value arrays, etc.). Since this stuff never
changes, there is no need for more than one of these.
The MCP is called D0 because it is the root of everything; Display register
zero points to the base of its activation. Segment dictionaries are called
D1 stacks because Display register one points to the base of their activation.
The outer block of a program is called a D2 stack because Display register two
points at the base of its activation. Blocks called by the outer block run
at higher D (lex) levels.
For practical purposes, the D2 stacks are the running programs. This stack
contains all active procedures and all data and all active expressions.
=====================================================================
= sua cuique voluptas (everyone has his own pleasures) =
= Randy Gellens randy%mpa15ab@trenga.tredydev.unisys.com =
= >>>>>>> If mail bounces, forward to rgellens@mcimail.com <<<<<<<< =
= Opinions are personal; facts are suspect; I speak only for myself =
Randomly selected tag:
Death is nature's way of telling you to slow down
Technical Details
Message-ID:
<AMPU0316C23716@MPA15AB>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!udel!gvls1!TRENGA.tredydev.unisys.com!MPA15AB!COMPSYSUReferences:
MPA15AB!COMPSYSU@TRENGA.tredydev.unisys.comShow Full Headers
Complete Article Headers
Newsgroups: comp.sys.unisys Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!darwin.sura.net!udel!gvls1!TRENGA.tredydev.unisys.com!MPA15AB!COMPSYSU From: MPA15AB!COMPSYSU@TRENGA.tredydev.unisys.com Subject: 2Re: Info about A Serie Message-ID: <AMPU0316C23716@MPA15AB> Sender: MPA15AB!COMPSYSU@TRENGA.tredydev.unisys.com Organization: C-S-U Gateway References: MPA15AB!COMPSYSU@TRENGA.tredydev.unisys.com Date: Wed, 14 Oct 1992 02:08:00 GMT Comments: Actually-From: Randall "vive.hodie" Gellens <RANDY @ MPA15AB> Lines: 34