22.02.2015 Views

HLASM Language Reference

HLASM Language Reference

HLASM Language Reference

SHOW MORE
SHOW LESS

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<br />

duplication_factor<br />

causes the nominal_value to be generated the number of times indicated by<br />

this factor. See “Subfield 1: Duplication Factor” on page 132.<br />

type<br />

further determines the type of constant the nominal_value represents. See<br />

“Subfield 2: Type” on page 133.<br />

type_extension<br />

determines some of the characteristics of the constant. See “Subfield 3: Type<br />

Extension” on page 134.<br />

| program_type<br />

| assign a programmer determined 32-bit value to the symbol naming the DC<br />

| instruction, if a symbol was present. See “Subfield 4: Program type” on<br />

| page 135.<br />

modifier<br />

describes the length, the scaling, and the exponent of the nominal_value. See<br />

“Subfield 5: Modifier” on page 136.<br />

nominal_value<br />

defines the value of the constant. See “Subfield 6: Nominal Value” on<br />

page 140.<br />

For example, in:<br />

1EBP(7)L2'12'<br />

the six subfields are:<br />

Duplication factor is 1<br />

Type is E<br />

Type extension is B<br />

| Program type is P(7)<br />

Modifier is L2<br />

Nominal value is 12<br />

If all subfields are specified, the order given above is required. The first, third,<br />

fourth and fifth subfields can be omitted, but the second and sixth must be<br />

specified in that order.<br />

Rules for DC Operand<br />

1. The type subfield and the nominal value must always be specified unless the<br />

duplication factor is zero. If the duplication factor is zero, only the type must be<br />

specified.<br />

| 2. The duplication factor, type extension, program type, and modifier subfields are<br />

optional.<br />

3. When multiple operands are specified, they can be of different types.<br />

4. When multiple nominal values are specified in the sixth subfield, they must be<br />

separated by commas and be of the same type. Multiple nominal values are<br />

not allowed for character or graphic constants.<br />

| 5. The descriptive subfields, apart from the program type, apply to all the nominal<br />

| values. The program type applies to only the symbol naming the DC<br />

| instruction, if a symbol was present. Separate constants are generated for<br />

each separate operand and nominal value specified.<br />

128 <strong>HLASM</strong> V1R5 <strong>Language</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!