Wrong. >From PoOps: The branch address is computed before general register R is changed.
As mentioned, macro level CICS used BALR 14,14 all the time to call modules. Ray -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Mike Schwab Sent: 22 January 2019 15:30 To: [email protected] Subject: Re: BALR and BAL in AMODE=24 First thing is it loads the address of the next instruction into R14. It then jumps to that location. Doesn't that cause some processors to sync up the cache and instruction pipelines? A BALR Rxx,0 would do the same thing but not perform the jump or syncs, and is the usual statement before a USING. On Tue, Jan 22, 2019 at 7:38 AM Vernooij, Kees (ITOP NM) - KLM <[email protected]> wrote: > > I wonder what the purpose of this is. > It branches to R14, usually the return address, unless you loaded the > destination address in R14 first. > I am used to BALR R14,15, where R15 is the (conventional) destination address. > > Kees. > > > > -----Original Message----- > > From: IBM Mainframe Discussion List [mailto:[email protected]] On > > Behalf Of [email protected] > > Sent: 22 January, 2019 14:31 > > To: [email protected] > > Subject: Re: BALR and BAL in AMODE=24 > > > > 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 > ******************************************************** > For information, services and offers, please visit our web site: > http://www.klm.com. This e-mail and any attachment may contain confidential > and privileged material intended for the addressee only. If you are not the > addressee, you are notified that no part of the e-mail or any attachment may > be disclosed, copied or distributed, and that any other action related to > this e-mail or attachment is strictly prohibited, and may be unlawful. If you > have received this e-mail by error, please notify the sender immediately by > return e-mail, and delete this message. > > Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries and/or its > employees shall not be liable for the incorrect or incomplete transmission of > this e-mail or any attachments, nor responsible for any delay in receipt. > Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal Dutch > Airlines) is registered in Amstelveen, The Netherlands, with registered > number 33014286 > ******************************************************** > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN -- This e-mail message has been scanned and cleared by Google Message Security and the UNICOM Global security systems. This message is for the named person's use only. If you receive this message in error, please delete it and notify the sender. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
