I just had that discussion on a different forum with a guy who converted a
program to AMODE 64 and got surprised by that.  "Why was my program loaded
at x'FFFFFF02', and why do I get a S0C4?"

However, that really only applies to system-controlled linkage.  Normal
linkage can be, and often is used to call AMODE 64 subroutines, but of
course, it would be prudent not to count on it.  I found that a couple of
IBM AMODE 64 callable routines expect R15 to be set to their EPA, although
most do not.  I discovered these when I made the calls using JASL (if you
don't know, yes, the Binder can handle that).

sas

On Mon, Dec 2, 2019 at 11:48 AM Ed Jaffe <[email protected]>
wrote:

> On 12/2/2019 7:58 AM, Kerry Liles wrote:
> > Or
> >
> >      LR  12,15
> >      USING entrypointname,12
>
>
> And, of course, R15 is not even loaded with the entry point address for
> programs given control in AMODE(64) :-\
>
> These days, one is expected to issue LARL/USING to your program
> constants. There is generally no need whatever for base register
> coverage of the code.

Reply via email to