At 11:03 -0500 on 12/20/2010, David Bond wrote about Re: Baseless vs Based:

A good use for LARL is to set up the base register for the constants - and
maybe the modifiable data area if the program is not reentrant.  LARL can
even be used to get the address of other control sections.  But I think you
are trying to use LARL for everything.

A LARL reference to another control section is playing with fire
since the displacement of the CSECT being referenced can change at
Bind Time. Only a ACON can track the real location/displacement:


       DC  A(CSECT1) located in CSECT2

Reply via email to