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 instruction—Address constantsThe symbol specified in a V-type constant must not represent external data in anoverlay program.Table 31. V address constantsSubfield Value Example Result1. Duplication factor Allowed2. Type V3. Type Extension D4. Program type Allowed5. ModifiersImplicit length:(length modifiernot present)Alignment:(Length modifiernot present)V-type: 4 bytesVD-type: 8 bytesV-type: FullwordVD-type: DoublewordVL4(ExtSym)Range for length: V-type: 4 or 3 onlyVD-type: 3, 4 or 8(no bit length)Range for scale: Not allowedRange for exponent: Not allowed6. Nominal valueRepresented by: A single externalsymbolEnclosed by: ParenthesesExponent allowed: NoNumber of valuesper operand:Padding:Truncation ofassembled value:MultipleNoneNot applicableDC V(MODA) ▌1▐DC V(EXTADR) ▌1▐In the following example, 12 bytes are reserved, because there are three symbols.The value of each assembled constant is zero until the program is link-edited.VCONST DC V(SORT,MERGE,CALC)|||Offset and length constantsThis section describes the offset constant (“Offset constant—Q”) and lengthconstant (“Length constant—J” on page 158).Offset constant—Q: Use this constant to reserve storage for the offset into astorage area of an external dummy section, or the offset to a part or label in aclass. The offset is entered into this space by the linker. When the offset is added tothe address of an overall block of storage set aside for external dummy sections, itaddresses the applicable section.For a description of the use of the Q-type offset constant in combination with anexternal dummy section, see “External dummy sections” on page 56. See alsoTable 32 on page 158 for details.Chapter 5. Assembler instruction statements 157

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

Saved successfully!

Ooh no, something went wrong!