How large is the length and is it constant?

         LH    R15,LENGTH
         IILH  R15,HWPAD
         ...
HWPAD    EQU   X'4000'

         LFI   R15,PADDED
         ...
PADDED   EQU   X'40000000'+L'FIELD


-- 
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר




________________________________________
From: IBM Mainframe Assembler List <[email protected]> on behalf 
of Mark Hammack <[email protected]>
Sent: Thursday, March 5, 2026 3:32 PM
To: [email protected] <[email protected]>
Subject: Loading the pad byte for MVCL


External Message: Use Caution


So, I was wondering if anyone had a "better" way.

I've done:

IC  R15,C' '
SLL R15,24

and

LGFI R15,X'40000000'

and

LY   R15,PADCHAR
...
PADCHAR DC C' ',X'000000'

What I'd like is to do something like the LGFI (or LLILH) but using the
more "self documenting" PADCHAR format.

I'm probably just too picky.  I could probably write a SETPAD macro and use
SLL, just haven't tried that yet.


*Mark Hammack*
[email protected]


Reply via email to