I simply moved null bytes to overlay the result (I could have XC them as well).
DP WKPACK,KDAYSQC
…
MVC WKPACK(L'WKPACK-L'KDAYSQC),KNULL Expand remainder to DW
…
KNULL DC 8X’00’
Frank M. Ramaekers Jr.
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Wednesday, January 26, 2022 8:11 PM
To: IBM Mainframe Assembler List <[email protected]>
Cc: Frank M. Ramaekers <[email protected]>
Subject: Re: ZAP to expand remainder
External Message – Think Before You Click
On 2022-01-27 04:45, Frank M. Ramaekers wrote:
> Will this instruction work?
>
> ZAP WKPACK,WKPACK+(L'WKPACK-L'KDAYSQC) Expand remainder
>
> In other words, can one expand the remainder from a DP instruction to
> the entire field?
The field can be expanded.
Ensure that the right-most byte of the first and second operands co-incide.
----------------------------------------------------------------------
This message contains information which is privileged and confidential and is
solely for the use of the intended recipient. If you are not the intended
recipient, be aware that any review, disclosure, copying, distribution, or use
of the contents of this message is strictly prohibited. If you have received
this in error, please destroy it immediately and notify us at
[email protected].