Paul Gilmartin wrote:
In a recent note, Edward Jaffe said:

Date:         Tue, 7 Nov 2006 07:45:41 -0800

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'

And your macro is able to infer the implied length of a literal pool
reference?

Yes.

I'm impressed!  Or, is the assembler smarter than I
thought, and able to deal with a generated:

         MVC   TARGET(L'(=XL6'402021212121')),=XL6'402021212121'

... or the like?

Also Yes. See below:

.  Loc    Object Code      Addr1    Addr2    Stmt  Source Statement
.00000000                00000000 00000076      1 MVTGT    CSECT ,
.                    R:C 00000000               2          USING MVTGT,12
. 3 MVC2 TARGET,=XL6'012345678ABC' .00000000 D205 C00C C070 0000000C 00000070 9+ MVC TARGET(6),=XL6'012345678ABC' .00000006 D205 C00C C070 0000000C 00000070 10 MVC TARGET(L'=XL6'012345678ABC'),=XL6'012345678ABC'
.0000000C 0000000000000000                     11 TARGET   DC    XL100'00'
.00000070                                      12          LTORG ,
.00000070 012345678ABC 13 =XL6'012345678ABC'
.                                              14          END   ,

--
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