In the 370 days, thats how we used to establish addressability! A BALR to a
register with a zero in the link position merely loads the PSW instruction
address into a register, like this:

BALR 15,0
USING *,15

Joe

On Tue, Jan 22, 2019 at 6:44 AM John Gateley <[email protected]>
wrote:

> 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

Reply via email to