On 27 June 2016 at 09:04, John McKown <[email protected]> wrote:
> &NULL SETC BYTE(00)
> STRING DC 'HELPME&NULL'
>
> Not quite as pungent, but better. Does anybody have a better way? Should I
> just make a macro, perhaps DCZ, to do the above for me automatically?
>
> This is more a technique question than a technical one. What would be more
> understandable to most HLASM programmers?

As an old assembler programmer I don't find this approach at all bad
or unintuitive. Where it will bite you down the road is when you start
putting your listings into UNIX files, and/or viewing them on Windows.
Something somewhere is going to choke on that zero byte.

Tony H.

Reply via email to