HP3000-L Archives

February 2002, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Thu, 28 Feb 2002 11:29:39 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
Re:
> 1. If a program is run by multiple people at the same time do
> they share one copy of the object code in memory?

basically yes

> 2. Will many people using the same program cause less
> memory pressure than using different programs?

basically yes

> 3. Does a stack pointer exist for each execution which would
> be used to determine which command the current execution is using?

not exactly.  The terminology is the problem here.

If a user says "RUN FOO", where FOO doesn't interact with the user ...
is the user "excuting a current command" *WITHIN* FOO?
Compare with "RUN QEDIT.PUB.ROBELLE", and then the user enters
"TEXT FUM" ... the user is executing the TEXT command.  But what happens
when that command finishes, and QEDIT prompts for the next command...
is the program "executing a current command" whilst it is waiting for
user input?

Every process has the concept of a current instruction address,
known as the PC (Program Counter).  You can see the value of PC for
another process via DEBUG, if you have PM capability.
Stan Sieler                                           [log in to unmask]
www.allegro.com/sieler/wanted/index.html          www.allegro.com/sieler

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2