If you need to point to objects on arbitrary boundaries, use LAY instead od
LA.

Robert Ngan
CSC Financial Services Group



From:   Ed Jaffe <[email protected]>
To:     [email protected]
Date:   2013/04/05 16:30
Subject:        Re: Relative Branches / IBM macros
Sent by:        IBM Mainframe Assembler List <[email protected]>



On 4/5/2013 1:03 PM, John McKown wrote:
> _LA_ OPSYN LA
>
> before invoking the macro, do:
>
> LA OPSYN LALR
>
> to use the Load Address Long Relative.
>
> after the macro do:
>
> LA OPSYN _LA_
>
> to put LA back to "normal". Of course, this only works if the hardware
> you're supporting implements the required relative instruction. Assuming
> there is one.

This does not work. LARL requires the field to be on an even-numbered
boundary; LA can use any boundary.

--
Edward E Jaffe
Phoenix Software International, Inc
831 Parkview Drive North
El Segundo, CA 90245
http://www.phoenixsoftware.com/

Reply via email to