Tony,

A non-literal constant, if improperly aligned by the programmer, should be
flagged in error.

On the other hand, the placement of a literal constant is determined by the
assembler.  That being the case, I believe that it is reasonable for the
assembler to provide correct alignment.

John P. Baker

-----Original Message-----
From: IBM Mainframe Assembler List [mailto:[email protected]]
On Behalf Of Tony Harminc
Sent: Saturday, August 21, 2010 7:16 PM
To: [email protected]
Subject: Re: LARL vs. Literal Alignment

This stretches and digresses from the point a bit... By definition,
any such following literal will have an odd number of bytes, and if it
must be addressed by a relative instruction, the same techniques that
have been recommended for the original problem apply just as well.

No one is saying any such thing. By analogy, do you think the
assembler should force alignment of non literal constants if they
happen to be referenced by a relative instruction?

Tony H.

Reply via email to