If your habit was to use L Rx,=X'...' you were probably lucky in the old
days.... the =X literal would not necessarily be word-aligned, causing
two fetches to load the register, or, in the days when alignment really
mattered... a program exception.

Not true.  Assemblers going back to F (anything before?) have always
ordered literals by alignment.  Any 8-byte-multiple literal will
be aligned on an 8-byte boundary, regardless of how defined.
Then all 4-byte-multiple literals not a multiple of 8, then all
2-byte-multiple not x4 or x8, then all 1-byte-multiple literals.

So, a literal =X'12345678' or =X'12,34,56,78', etc., will be 4-byte aligned.

Richard Corak

Reply via email to