On Mon, 17 Jan 2011 14:18:54 -0600 "McKown, John" <[email protected]> wrote:
:>First question: Does your code use 64-bit instructions? If not, then why would you need to worry about saving the high word of the caller's registers? If you don't modify it, then it doesn't need to be saved, does it? Since the save areas passed in are compatibily extended, then it shouldn't matter how you store the registers that you use, so long as you restore them correctly. LA in 64 bit mode alters the top half. As does BAL(R) and other trimodal instructions. :>I was also under the impression that it was the __caller's__ responsibility to provide a save area for all its called modules and to do so in a way that worked properly according to the documentation of the subroutine. I.e. "R13 is assumed to point to a save area of ... words in length as documented the the IBM manual: ...". Yes. :>Or am I once again at the mercies of my meds? -- Binyamin Dissen <[email protected]> http://www.dissensoftware.com Director, Dissen Software, Bar & Grill - Israel Should you use the mailblocks package and expect a response from me, you should preauthorize the dissensoftware.com domain. I very rarely bother responding to challenge/response systems, especially those from irresponsible companies.
