At 09:11 -0600 on 01/14/2015, Tom Marchant wrote about Re: Abend
S602-0 when in AMODE 64:
14 Return 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.
15 When 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'
I assume that there is a special method of returning to a AMODE 64
caller since there is no mention in the R14 description. I have a
vague impression that the low bit of the return address being 1 (as
opposed to 0) indicates a return in AMODE 64.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN