SAM64, SAM31 and SAM24 are relatively slow instructions.  Are you shifting 
between addressing modes only when you have to?  If you clear the 64-bit 
registers and set up the base registers you can probably do a single SAM64 and 
leave it in that mode.  Yes, you will have to shift to AMODE 31 to do certain 
system functions, but just try to minimize the shifts.

Chris Blaicher
Technical Architect
Software Development
Syncsort Incorporated
50 Tice Boulevard, Woodcliff Lake, NJ 07677
P: 201-930-8234  |  M: 512-627-3803    
E: [email protected]

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Brite
Sent: Tuesday, May 05, 2015 10:48 AM
To: MVS List Server 2
Subject: Re: LNKEDT 64-bit mode assembler in AMODE 31

Thanks everyone for all the helpful info. The program does use SAM64 to switch 
to AMODE(64) before issuing IARV64 to get storage above 2GB. And use SAM31 to 
switch back. So the attribute of load module after LNKEDT really doesn't 
matter. Is this correct? The program also use SYSSTATE AMODE64=YES at the 
beginning. Will this also override the AMODE of the load module?

Reply via email to