David L Clark/it/crp/WinWholesale wrote on 01/21/2022 12:18:30 PM:
> Previously, when using STM/LM for the caller's 72-byte save area, I
> would store my R15 return code in the caller's save area before
> issuing LM/BR to return to caller. My question is, in a BAKR/PR
> situation, how do you pass back what would normally be a register 15
> return code? I'm trying to wade though the information on the PR
> instruction in hopes of finding this answer, but there is quite a
> lot of it -- over 3 pages.
Oh, it looks like only registers 2-14 are unstacked by the PR
instruction. So, anything in register 15 (like a return code) would
remain. Let me know if I've got that wrong. Thanks.
Sincerely,
Dave Clark
--
Winsupply Group Services
3110 Kettering Boulevard
Dayton, Ohio 45439 USA
(937) 294-5331
*********************************************************************************************
This email message and any attachments is for use only by the named
addressee(s) and may contain confidential, privileged and/or proprietary
information. If you have received this message in error, please
immediately notify the sender and delete and destroy the message and all
copies. All unauthorized direct or indirect use or disclosure of this
message is strictly prohibited. No right to confidentiality or privilege
is waived or lost by any error in transmission.
*********************************************************************************************