On Mon, 9 Feb 2009 12:19:53 -0800, Don Russell <[email protected]> wrote:

>BAL was  pretty much obsolete when IPM came into existance. Unless of course
>your code had to run on an old box. I have not come across an instance yet
>when I needed BAL, and often use OPSYN to map BAL/R to BAS/R.
>If I REALLY need BAL/R, I'll code a  DC X'45' or DC X'05' and add a comment
>saying I really, really need BAL/R here...
>

I have a very vague memory of one subroutine which was written to be
sensitive to whether it was invoked via a BAL or a BALR instruction. It
looked at the ILC in the "link register" and set a flag depending on whether
the ILC was 1 (BALR) or 2 (BAL). Of course, it only worked in AMODE(24), so
it not really very useful anymore.

--
John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to