On Sun, 17 Aug 2025 07:29:40 +0300, Binyamin Dissen <[email protected]> wrote:
>It would be nice if the doc explicitly stated the contents of R14 when entered >in 64 bit mode, that R14 is a pure address without flags.. The doc for R14 is a hot mess. 1. When the target runs AMODE24 or AMODE31, then the R14 caller AMODE is only reliable when the caller will never be AMODE64 otherwise the target must run AMODE64 and use R15 to correctly determine the caller's amode. 2. The return address will always be valid regardless of the amode (br or bsm may be used for return). Caution, if the target was entered in AMODE24 or AMODE31 and you switched to AMODE 64, then it is your responsibility to ensure R14 is a valid 64-bit address. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
