On 4/5/2013 1:11 PM, Farley, Peter x23353 wrote:
That works for the CALL only if the parameters are not in a dynamic area in a DSECT somewhere.
Of course! And, if they are you use MF=E instead of MF=I format.
For the GETMAIN, note that the "L" for the literal loaded into R15 requires a base register able to address the LTORG area.
Literals, constants, and working storage DSECTs require base register coverage. This is why I don't like the term 'base-less' to describe code that uses relative branches. -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 http://www.phoenixsoftware.com/
