Makes sense. It does seem to me that I have seen code -- kids, don't try this 
at home -- that used R14 as a temporary base register on return from a call. 
You know, back in the pre-branch-relative days when you could be desperate for 
a base register.

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Tom Marchant
Sent: Monday, June 13, 2016 2:37 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: LINK and high order word of R1

On Mon, 13 Jun 2016 16:14:25 -0500, Tom Marchant wrote:

>It seems to me that the low half of 14 should be unchanged as well, but that's 
>not what the book says.

Looking over my correspondence with Peter when he was rewriting Chapter 2, I 
asked about the low half of R14. He replied, quite correctly, that a caller 
can't rely on R14 being unchanged upon return from a call, since the call 
itself changes it.

----------------------------------------------------------------------
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