> AnyProg csect
> AnyProg AMODE  64
>         SYSSTATE AMODE64=YES,ARCHLVL=2
>         LLGTR  13,13         ensure effective s.a. address is 64 bits
>         stm    14,12,12(13)  save right hand (rh) 32-bit regs

This violates the linkage conventions. You have clobbered the high half of
register 13 and thus cannot restore it for the caller..

Also, one hopes that you did not care about the high halves of regs 0, 1,
and 15 because they were not preserved by GETMAIN.

Peter Relson
z/OS Core Technology Design

Reply via email to