I've always done the ex of mvc thusly:

EX    R1,TEXT8000         MOVE IN ASCII NUMBERS

Down where it will not be executed

TEXT8000 DS    0H
                  MVC   0(*-*,R6),B24AN     FROM WORK TO OUTPUT ASCII

 Duffy

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]] On 
Behalf Of Steve Comstock
Sent: Wednesday, May 21, 2014 7:19 AM
To: [email protected]
Subject: Re: MVCL

On 5/21/2014 8:14 AM, Robin Vowels wrote:
> From: "Steve Hobson" <[email protected]>
> Sent: Wednesday, May 21, 2014 9:38 PM
>
>
>> For many years I've used this style which I was taught be the
>> legendary Pete Roberts:
>
>>             MVC  TARGET(0),SOURCE
>>             EX   Rx,*-6
>
> I imagine that
>              EX   Rx,*+4
>              MVC  TARGET(0),SOURCE
> would be OK too.
>
>> It at least addresses the far-away MVC problem and I imagine helps
>> with the ICACHE too.
>
> ---

Both of these 'solutions' run the MVC instruction twice. Seems like a waste.

-Steve Comstock

Reply via email to