Yes, there are probably a lot of use cases in compiler-generated code. I had only considered HLASM source, although in re3trospect I certainly should have considered the other. Thanks for pointing that out.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Assembler List <[email protected]> on behalf of Charles Mills <[email protected]> Sent: Tuesday, November 24, 2020 12:25 PM To: [email protected] Subject: Re: Relocatable immediate values The compilers now do a lot of using the high halves of registers as "scratch pads." So the upper half of the register might be storing some unrelated value. Charles -----Original Message----- From: IBM Mainframe Assembler List [mailto:[email protected]] On Behalf Of Seymour J Metz Sent: Tuesday, November 24, 2020 7:39 AM To: [email protected] Subject: Re: Relocatable immediate values 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
