On Mon, 11 Jul 2016 16:09:43 -0400, Steve Thompson wrote:

>I'm used to doing a BSM to return as a subroutine to have
>addressing modes match. I had assumed that the caller did BSSM
>not just BASR or BALR
>
>So when the program ends and returns to the caller via BSM R14,
>wow, you would not believe all the ESTAEs that get driven
>(including this programs ESTAEX). LE throws a fit and thankfully,
>having set up SYSMDUMP with DISP=MOD, I get the dump I need and
>IPCS ignores the second dump. ;-)
>
>So, R14 does not have the hi-order bit on when I am called.

As Peter said, bit 32 of R14 is set according to AMODE by BALR and 
BASR when running in 24-bit or 31-bit mode.

You can verify that by looking at your caller's save area in the dump. 
I think that the error is not what you think it is.

-- 
Tom Marchant

Reply via email to