On Sun, Jul 17, 2016 at 4:25 PM, David Cole <[email protected]> wrote:

> At 7/17/2016 02:58 PM, Binyamin Dissen wrote:
>
>> I believe at the Z level it became 144.
>>
>
> Yeah, me too. But in my case, it's just a guess. Can you cite a reference?
>
>
​ref:
https://www.ibm.com/support/knowledgecenter/SSLTBW_2.2.0/com.ibm.zos.v2r2.ieaa700/iea3a7_Description1.htm

<quote>

The contents of the GPRs on entry to the subtask are:*Register**Contents*0Used
as a work register by the system.1Address of the user parameter list if
specified on either the PARAM or MF=E parameters; otherwise, contains
whatever GPR 1 contained at the time the ATTACH macro was issued.2-12Used
as work registers by the system.13Address of a 144-byte save area.14Return
address. Bit 0 is 0 if the subtask routine gets control in 24-bit
addressing mode; bit 0 is 1 if the subtask routine gets control in 31-bit
addressing mode.15When the subtask routine is to run in 24-bit or 31-bit
addressing mode, the entry point address of the subtask routine.
When the subtask routine is to run in 64-bit addressing mode, it is
expected to use relative branching and register 15 contains a value that
can be used to determine the addressing mode of the issuer of the ATTACH or
ATTACHX macro as follows:

   - Issuer AMODE 24: X'FFFFF000'
   - Issuer AMODE 31: X'FFFFF002'
   - Issuer AMODE 64: X'FFFFF004'

Note: [image: Start of change]For assistance in converting a program to use
relative branching, refer to the IEABRC and IEABRCX macros.[image: End of
change]
The contents of the ARs on entry to the subtask are:*Register**Contents*0Used
as a work register by the system.1Zero if you specified a user parameter
list on either the PARAM or MF=E parameters; otherwise, contains whatever
AR 1 contained at the time the ATTACH macro was issued.2-12Used as work
registers by the system.13-15Zeros.

</quote>​



-- 
"Pessimism is a admirable quality in an engineer. Pessimistic people check
their work three times, because they're sure that something won't be right.
Optimistic people check once, trust in Solis-de to keep the ship safe, then
blow everyone up."
"I think you're mistaking the word optimistic for inept."
"They've got a similar ring to my ear."

>From "Star Nomad" by Lindsay Buroker:

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to