From: "Duffy Nightingale" <du...@soundsoftware.us>
Sent: Monday, June 16, 2014 5:27 AM
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
Some folks prefer to have the MVC close by.
The full sequence would be:
LTR R1,R1
BZ SKIP
BCTR R1,0
EX R1, TEXT8000
SKIP ...
Duffy
-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU] On
Behalf Of Steve
Comstock
Sent: Wednesday, May 21, 2014 7:19 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: MVCL
On 5/21/2014 8:14 AM, Robin Vowels wrote:
From: "Steve Hobson" <steve_hob...@uk.ibm.com>
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
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com