In <[email protected]>, on 11/03/2012
at 09:49 PM, Micheal Butz <[email protected]> said:
>What is the most current register values TCBGRS or RBREGS
That depends. RBREGS reflects register contents when the program or
SVC was called; TCBREGS reflects the most recent register contents for
the task. If you're taking a dump then TCBREGS for the dumping task
will reflect the operation of ABDUMP or ABEND, which is not likely to
be of interest to you.
>I Know it depends where the code is executing for example if it
>executing a in SVC outside of type 1 then it's in the RBREGS
RBREGS is not the *current* register contents.
>If a program is cancelled because it was looping I am guessing the
>most current would be TCBGRS
Unless it's looping in an SRB, Type 1 SVC or Type 6 SVC. Also, see the
note above about the dumping task.
>Another way of asking this when a TCB time slice is up where are the
>registers and PSW saved
That's a different question, because you don't have extraneous SVRB's
complicating the situation; RBOPSW and TCBGRS.
--
Shmuel (Seymour J.) Metz, SysProg and JOAT
Atid/2 <http://patriot.net/~shmuel>
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN