Which is better because...? Always glad to learn a new technique!

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of Seymour J Metz
Sent: Thursday, March 5, 2026 5:44 PM
To: [email protected]
Subject: Re: Loading the pad byte for MVCL

I used to use that when Old Man Noach was cornering the market in gopher wood, 
but these days I use LFI.

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




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


External Message: Use Caution


I've always used:
        ICM     R15,B'1000',C' '

To me, that's VERY clear.

-----Original Message-----
From: IBM Mainframe Assembler List <[email protected]> On Behalf 
Of Mark Hammack
Sent: Thursday, March 5, 2026 3:32 PM
To: [email protected]
Subject: Loading the pad byte for MVCL

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