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 instruction10EBP(7)L2’12’the six subfields are:v Duplication factor is 10v Type is Ev Type extension is Bv Program type is P(7)v Modifier is L2v Nominal value is 12If all subfields are specified, the order given above is required. The first, third,fourth and fifth subfields can be omitted, but the second and sixth must bespecified in that order.||||Rules for DC operands1. The type subfield and the nominal value must always be specified unless theduplication factor is zero. If the duplication factor is zero, only the type mustbe specified.2. The duplication factor, type extension, program type, and modifier subfields areoptional.3. When multiple operands are specified, they can be of different types.4. When multiple nominal values are specified in the sixth subfield, they must beseparated by commas and be of the same type. Multiple nominal values are notallowed for character or graphic constants, because a comma is part of thenominal value of the constant; it is not possible to specify multiple nominalvalues.5. The descriptive subfields, apart from the program type, apply to all thenominal values. The program type applies to only the symbol naming the DCinstruction, if a symbol was present. Separate constants are generated for eachseparate operand and nominal value specified.6. No spaces are allowed:v Between subfieldsv Between multiple operandsGeneral information about constantsConstants defined by the DC instruction are assembled into an object module atthe location at which the instruction is specified. However, the type of constantbeing defined, and the presence or absence of a length modifier, determineswhether the constant is to be aligned on a particular storage boundary or not (see“Alignment of constants” on page 128).Symbolic Addresses of Constants: The value of the symbol that names the DCinstruction is the address of the first byte (after alignment) of the first or onlyconstant.Length attribute value of symbols naming constantsThe length attribute value assigned to the symbols in the name field of theconstants is equal to:v The implicit length (see “Implicit Length” in Table 17 on page 128) of theconstant when no explicit length is specified in the operand of the constant, orv The explicit length (see “Value of Length Attribute” in Table 17) of the constant.Chapter 5. Assembler instruction statements 127

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

Saved successfully!

Ooh no, something went wrong!