A faster replacement for L R15,=A(EXTRN)

13 views
Skip to first unread message

d...@higgins.net

unread,
Jan 15, 2021, 11:27:20 AM1/15/21
to z390, IBM Mainframe Assembler List

All

 

With the recent HLASM and z390 support for 32 bit relocatible immediate fields, it appears that for amode 31, the IILF insert immediate instruction is a more efficient way to load a register with an external address than using the traditional L load instruction to fetch an address constant.  The 6 byte insert immediate instruction can replace 8 bytes for the load and address constant.  And the insert instruction avoids having to add base and displacement address and then load the separate address constant.  

 

Don Higgins

d...@higgins.net

www.donhiggins.org

 

Reply all
Reply to author
Forward
0 new messages