> -----Original Message----- > From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On > Behalf Of Edward Jaffe > Sent: Monday, February 09, 2009 6:50 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Assembler Question <Snipped> > I haven't coded a BALR for program linkage in decades. Up until a few > years ago, I still used it on occasion to "sense" the current AMODE.
Indeed, and do you then always use the LINKINST=BASR keyword on the CALL macro to force the macro not to use BALR? What do you do about the WTO macro which always generates a BAL around the message text? Etc., etc., pick your system macro and observe the BAL/R's and other ancient instructions all over the place. <smallrant> I am occasionally somewhat peeved at IBM for failing to provide different, non-24-bit macro expansions when the programmer goes to the trouble of coding SYSSTATE ARCHLVL=2 (or any other mechanism they might care to invent). Even GET/PUT could use BASR, AFAIK, unless they too are using the BALR to detect AMODE. Which ought to be documented, if true. </smallrant> Peter This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html