11.07.2015 Views

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

HLASM: V1R6 Language Ref

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DC instruction||||||||||||||||If a bit-length constant of type A, B, F, H, P, X, Y, or Z is specified with aduplication factor, each nominal value is right-justified in the specified fieldand padded on the left with zeros or sign bits, according to the type. If unfilledbits remain after each constant is generated, any remaining bits in the last byteare filled with zero bits. That is, padding within a constant is different fromfilling after a group of constants.3. If a bit-length constant is specified with a duplication factor, each nominalvalue is right-justified in the specified field and padded on the left with zerosor sign bits, according to the type. If unfilled bits remain after each constant isgenerated, any remaining bits in the last byte are filled with zero bits. Thus,padding within a constant is different from padding after a group of constants.4. The maximum value for the duplication factor is 2 24 −1, or X'FFFFFF' bytes forOBJ object files, 2 32 −1, or X'7FFFFFFF' for GOFF object files. If the maximumvalue for the duplication factor is exceeded, the assembler issues a message.There are many possible messages, depending on the current circumstances.Possibilities are ASMA067S Illegal duplication factor, ASMA068S Length error,and ASMA068S Length error.Subfield 2: TypeThe syntax for coding the type is shown in the subfield format on page 126.You must specify the type subfield. From the type specification, the assemblerdetermines how to interpret the constant and translate it into the correct format.The type is specified by a single-letter code as shown in Table 19, the typeextension as shown in Table 20.Further information about these constants is provided in the discussion of theconstants themselves under “Subfield 6: Nominal Value” on page 138.Table 19. Type codes for constantsCode Constant Type Machine FormatC Character 8-bit code for each characterG Graphic 16-bit code for each characterX Hexadecimal 4-bit code for each hexadecimal digitB Binary Binary formatF Fixed-point Signed, fixed-point binary format; normally a fullwordH Fixed-point Signed, fixed-point binary format; normally a halfwordE Floating-point Short floating-point format; normally a fullwordD Floating-point Long floating-point format; normally a doublewordL Floating-point Extended floating-point format; normally twodoublewordsP Decimal Packed decimal formatZ Decimal Zoned decimal formatA Address Value of address; normally a fullwordY Address Value of address; normally a halfwordS Address Base register and displacement value; a halfwordV Address Space reserved for external symbol addresses; normally afullwordJ Address Space reserved for length of class or DXD; normally afullword132 <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!