On Aug 21, 2010, at 12:04, John P. Baker wrote:
> When using the LARL instruction to reference a literal (i.e., =X'..'), I
> receive an ASMA058E error message due to the literal not being property
> aligned (on a halfword boundary).
> ...
> Is there any known method by which to force an otherwise unaligned literal
> to be aligned.
>
I've read a little more on this:
High Level Assembler for z/OS & z/VM & z/VSE Language Reference
Release 6
Document Number SC26-4940-05
__________________________________
5.31.1 Literal pool
...
* The fourth segment contains those whose assembled lengths
are even, but not a multiple of 4
Since each literal pool is aligned on a SECTALGN alignment,
this guarantees that all literals in the [...] fourth [segment
are] halfword aligned.
So if you pad your hex constant on the right with anything so
its length is even, it will be generated halfword aligned.
-- gil