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, but when you said you prefer it to be
"close by", perhaps you meant that you would put it immediately
before or after the EX. 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
--
Tom Marchant