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:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of esst...@juno.com
> Sent: 22 January, 2019 14:31
> To: IBM-MAIN@LISTSERV.UA.EDU
> 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 <jrg.spur...@outlook.com>
> To: IBM-MAIN@LISTSERV.UA.EDU
> 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to