Well, the HLASM documentation seems to say otherwise, and it would be useful for macro generated calls, but I would hope that nobody asks for RMOD64 overlay support ;-)
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Peter Relson <[email protected]> Sent: Saturday, August 16, 2025 5:02 PM To: [email protected] <[email protected]> Subject: Re: Running a program RMODE64 External Message: Use Caution <snip>On page 199 I can see V() references in the RLD.Where are VD() references documented?</snip> There is no 8-byte V-Con (a la "VD").There is an 8-byte A-con ("AD") and that can be used in conjunction with an EXTRN statement for an external reference, just as a 4-byte A-con can be used in conjunction with an EXTRN statement for an external reference. <snip>Since RMODE is not documented for ATTACHX, RMODE64 is not supported. Therefore, R14 will never be above the bar (64 bit address). First and foremost, it says R14 is "return address" which implies R14 will always be a valid address regardless of the AMODE. </snip>False. That says you must not invoke ATTACHX in RMODE64. That has nothing to do with whether the target module can be RMODE64. Similarly, if ATTACHX could not be invoked in AMODE 64, that would have nothing to do with whether the target can be AMODE64 (I think ATTACHX can be, but the point remains) AMODE 64 and RMODE 64 do not require GOFF and do not require program object, IIRC. RLD references, when appropriate, can be 8-byte. There is an "extended" bit that is on, in addition to the normal bit(s) that might indicate 2, 3, 4-byte. Peter Relson ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
