>Must I now use extended save areas, as I am doing something 
>to the top halves of the GPRs, or will the system take 
>care of that for me?

Assuming this is a simple application, the system is not going to do 
anything for you with respect to saving registers. If you are responsible 
for your caller, then it is your responsibility to ensure that you return 
to your caller with the high halves of registers 2-14 unchanged.

Thus, if you restrict yourself to regs 0,1,15 you do not have to preserve 
high halves.

If you do need to save/restore, then there are several choices of which 
BAKR...PR is one, STMH...LMH is another, and having your caller provide a 
144-byte savearea and using STMG...LMG is another.

Peter Relson
z/OS Core Technology Design

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to