These are pointer fields within table entries. To use LA/LAY, I'd have to 
unroll the table lookup code, which I don't want to do.

Robert

-----Original Message-----
From: IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU> On Behalf 
Of Charles Mills
Sent: Tuesday, November 23, 2021 16:24
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: Re: ASMA030E?

Because you can't <g>. It makes sense but you can't do it.

Would

      LA   somereg,=C'blah')

And an EX rather than an L. Would that work for you? Does require a base 
register. LARL would not, but it's 6 bytes rather than 4.

Charles


-----Original Message-----
From: IBM Mainframe Assembler List [mailto:ASSEMBLER-LIST@LISTSERV.UGA.EDU]
On Behalf Of Ngan, Robert (DXC Luxoft)
Sent: Tuesday, November 23, 2021 11:40 AM
To: ASSEMBLER-LIST@LISTSERV.UGA.EDU
Subject: ASMA030E?

Why can't I code:

         DC    A(=C'blah')

This give an ASMA030E error, but wanting the address of a literal string seems 
legitimate to me as I don't otherwise need a named field with this value.

Robert Ngan
DXC Luxoft

Reply via email to