I remember back in the CICS/VS days we would code a BALR 14,14 It was a great Interview question to explain the workings of a BALR instruction.
---------- Original Message ---------- From: John Gateley <[email protected]> To: [email protected] Subject: BALR and BAL in AMODE=24 Date: Tue, 22 Jan 2019 06:43:54 -0600 Hello. The link information in the 24-bit addressing mode consists of the instruction-length code (ILC), the condition code (CC), the program-mask bits, and the rightmost 24 bits of the updated instruction address. I have never given much thought to the high byte when using this instruction and switched to BASR and BAS years ago. Just for personal interest, does anyone recall a program using the contents of the link register other than as a return address? Thanks for any replies. John ---------------------------------------------------------------------- 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
