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:[email protected]]
On Behalf Of Ngan, Robert (DXC Luxoft)
Sent: Tuesday, November 23, 2021 11:40 AM
To: [email protected]
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