Oh my gosh, @John, 4 bytes of virtual storage is NOTHING! Especially now that 
there is no effective 4K limit on easy addressability.

OTOH, you have already spent the most precious thing of all on it: your time.

Not to mention whoever has to maintain this code, is probably a newbie to 
HLASM, and has to puzzle over the ORG and VCON.

Yes, what is slightly more than nothing is the cache line, and using LARL 
avoids the hit on the data cache.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of John McKown
Sent: Wednesday, June 19, 2019 10:31 AM
To: [email protected]
Subject: Loading a VCON with as an immediate value

To me, it seems silly to do the following, if I am only loading a VCON in a
single place.

L R15,=V(ENTRY)

When I can do:

 LLILF R15,0
 ORG *-4
 DC V(ENTRY)

I am hoping that someone out there can tell me how I can improve the
previous 3 instructions to be something like:

  LLILH R15,ENTRY

HLASM complains the ENTRY is either relocatable or unresolved. Yes, it is
relocatable, but at run time it will be a constant. Is there some "magic"
to get HLASM to know this?


-- 
Money is the root of all evil.
Evil is the root of all money.
With that in mind, money is made by the government ...


Maranatha! <><
John McKown

Reply via email to