On Sun, 17 Aug 2025 11:08:32 -0500, Joe Monk <[email protected]> wrote:

>"At the begining of a rmode64 pgm to look at the register values and
>register 15 didn’t have the entry point "
>
>Correct.

Incorrect, the doc clearly says AMODE64 (not RMODE64). I wonder how IBM handled 
the transition of existing AMODE64 programs.

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'

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

Reply via email to