----- Original Message -----
From: "Tom Marchant" <[email protected]>
To: <[email protected]>
Sent: Tuesday, June 17, 2014 2:30 AM
Subject: Re: MVCL
On Mon, 16 Jun 2014 11:34:50 +1000, Robin Vowels wrote:
From: "Duffy Nightingale" <[email protected]>
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
You didn't show the MVC,
Obviously, it's the same as Duffy's, at location TEXT8000
but when you said you prefer it to be "close by",
No I didn't. I said, by way of explation to Duffy, that some folks prefer it
close by. I don't.
perhaps you meant that you would put it immediately
before or after the EX.
Obviously not (and certainly not before, because it isn't shown).
Some like to keep it close without an
additional execution by coding:
EX R1,TEXT8000 MOVE IN ASCII NUMBERS
DATA LOCTR
TEXT8000 DS 0H
MVC 0(*-*,R6),B24AN FROM WORK TO OUTPUT ASCII
CODE LOCTR
---
This email is free from viruses and malware because avast! Antivirus protection
is active.
http://www.avast.com