One possible use cases is to load an address for use in subsequent AMODE31 code 
without disturbing bits 0-31. That's probably not common.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Peter Relson <[email protected]>
Sent: Tuesday, November 24, 2020 9:50 AM
To: [email protected]
Subject: Re: Relocatable immediate values

<snip>
IILF R3,MYLABEL
...
MYLABEL DC 'HELLO'

...yes, the immediate value is relocatable
</snip>


What are you trying to accomplish that LARL wouldn't do (the only thing
that comes to mind is addressing a non-halfword-aligned entity, and it's
not usually a hardship to halfword-align a DC in your own module)? Your
code will be obscure (not necessarily "clever") and if there is no reason
to make it obscure, you shouldn't. The reader will have to rely on your
commentary to understand what you are trying to "insert".

Immediate instructions are completely and accurately described in the
principles of operation.
The use of  "insert", "load", "load logical" within an instruction name is
relevant. Those three have different behaviors/meanings.

The behavior is not related to the AMODE. Instructions that are sensitive
to the current AMODE say so.

Peter Relson
z/OS Core Technology Design

Reply via email to