11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DC instructionIf more than one operand is present, the length attribute value of the symbol is thelength in bytes of the first constant specified, according to its implicit or explicitlength.Alignment of constantsThe assembler aligns constants on different boundaries according to the following:v On boundaries implicit to the type of constant (see “Implicit BoundaryAlignment” in Table 18 on page 129) when no length is specified.v On byte boundaries (see “Boundary Alignment” in Table 18) when an explicitlength is specified.Bytes that are skipped to align a constant at the correct boundary are notconsidered part of the constant. They are filled with binary zeros.Notes:1. The automatic alignment of constants and areas does not occur if theNOALIGN assembler option has been specified.2. Alignment can be forced to any boundary by a preceding DS or DC instructionwith a zero duplication factor. This occurs whether or not the ALIGN option isset.Table 17. Length attribute value of symbol naming constantsType ofconstantImplicitLengthExamplesB as needed DC B’10010000’ 1CCUas neededas neededDCDCDCDCC’ABC’CL8’WOW’CU’ABC’CUL4’XX’G as needed DC G’’DC GL8’’X as needed DC X’COFFEE’DC XL2’FFEE’HFFDPZEDLLQYAAD248as neededas needed481616248DCDCDCDCDCDCDCDCDCDCDCDCDCDCH’32’FL3’32’FD’32’P’123’PL4’123’Z’123’ZL10’123’E’565.40’DL6’565.40’LL12’565.40’LQ’565.40’Y(HERE)AL1(THERE)AD(WHERE)Value of LengthAttribute¹3864483223824310461216218128 <strong>HLASM</strong>: <strong>V1R6</strong> <strong>Language</strong> <strong>Ref</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!