Alan Altmark wrote:
Best practice:  MVC TARGET(6),=XL6'402021212121'
Note the length modifer. This surfaces both the exact length of the source and the exact length of the move. People who omit the length modifer are sentenced to the 9th level of hell for all eternity. Or even longer.

I have written macros to implement assembler features for which I have been asking for a long time. In this case, it's the ability to use the implied length of the source rather than target operand. In this case, I would code:

|    MVC2  TARGET,=XL6'402021212121'

It comes in *very* handy!

--
Edward E Jaffe
Phoenix Software International, Inc
5200 W Century Blvd, Suite 800
Los Angeles, CA 90045
310-338-0400 x318
[EMAIL PROTECTED]
http://www.phoenixsoftware.com/

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to