Bob Rutledge wrote:
Yes, but note: If the loaded program is _marked_ AMODE 64, the LOAD service
will do all that stuff for you and return the 64-bit address in R0.
On 8/8/2015 5:53 PM, Paul wrote:
Thanks Again
SO the sequenec of Instructions should look like this.
LARL R1,STRUCT31 31 Bit Structure
L R15,PROG64@ Get Target Routine Address from Load
LLGTR R15,R15 Ensure R15 Has a Good Address
OILL R15,X'0001' Ensure bit 63 is 1
BASSM R14,R15 Call PROG64 in AMODE 64
*
*31 Bit Storage
DS 0D
PROG64$ DC CL8'PROG64 '
PROG64@ DC A(0)
*
STRUCT31 DS CL256
Paul, just in case you or someone decides to add AMODE 64 I'd change
PROG64@ DC A(0) --> 2A(0)
Andreas Geissbuehler