I use:

ICM   R7,B'1000',=X'40'  GET PAD CHARACTER

Sincerely,
Dave Clark


On Thu, Mar 5, 2026 at 3:32 PM Mark Hammack <
[email protected]> wrote:

> 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