<snip>Right that’s what I saw so in order to establish addressable you would do
 LARL    RX,CSECTNAME</snip>
Not if you care about a decent module. You should not need "addressability" to 
the start of the code. As Jim Mulder's post showed, the expectation is that 
AMODE 64 modules use relative/immediate instructions and do not need code 
addressability to the beginning of the CSECT. You might need addressability to 
the static data.
The owner of an AMODE 64 program (whether it is RMODE 64 or not) is expected to 
know that it is AMODE 64 and is expected to know what to expect in input R15.
I'm sure the team will properly update the doc to describe that the input R14 
for AMODE 24 *and* AMODE 64 (not just AMODE 24) has bit 32 off. It follows that 
it can be used with  BR and BSM. The system handles the case of an AMODE 64 
program using BSM on the input R14 provided by the system, getting back to the 
system in AMODE 24. I believe many (most? all?) HLL's were not flexible enough 
to give their user the choice between returning via BR and BSM (unconditionally 
using BR), and that in turn necessitated making R14 work for BR from an AMODE 
64 program.
Peter Relson

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to