Oppolzer - Informatik / Blog


Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie

ASSEMBLER-L - Sortierung von Literalen

Subject:

Re: Literal Alignment

From:

Bernd Oppolzer <bernd.oppolzer@T-ONLINE.DE>

Reply-To:

IBM Mainframe Assembler List <ASSEMBLER-LIST@LISTSERV.UGA.EDU>

Date:

2010.08.24 00:05:24


For this discussion it's very important to know that literals of - for example -
length 4 will be aligned on word boundary due to literal sorting, regardless of
their type specifier and other attributes. This is what I've tried to explain in
my earlier posts.

That is

        L   R1,=XL4'55000000'

will work on S/360, because the literal is aligned, although XL4 normally does
not align definitions (with DS or DC, for example).

This may be clear to most of you, but maybe not to beginners, who follow this
discussion.

Regards

Bernd



W.B. schrieb:
> Here's an example that would (potentially) fail on System/360:
>
>          L     R1,=X'55'        Get X'55' into high order byte
>
> That will work some of the time, but only if you're lucky and
> the code doesn't really care what's in the low order 3 bytes.

Blog-Hauptseite      Neuester Artikel      Älterer Artikel      Neuerer Artikel      Älterer gleiche Kategorie      Neuerer gleiche Kategorie