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