HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Subfield 6: Nominal Value

HLASM Language Reference
SC26-4940-06

The syntax for coding the nominal value is shown in the subfield format operands in DC instruction.

You must specify the nominal value subfield unless a duplication value of zero is specified. It defines the value of the constant (or constants) described and affected by the subfields that precede it. It is this value that is assembled into the internal binary representation of the constant. Table 1 shows the formats for specifying constants.

As the above list shows:
  • A data constant value (any type except A, Y, S, Q, J, R, and V) is enclosed by apostrophes.
  • An address constant value (type A, Y, S, V, R) or an offset constant (type Q) or a length constant (type J) is enclosed by parentheses.
  • To specify two or more values in the subfield, the values must be separated by commas, and the whole sequence of values must be enclosed by the correct delimiters; that is, apostrophes or parentheses.
  • Multiple values are not permitted for character constants.

Spaces are allowed and ignored in nominal values for the quoted constant types (BDEFHLPXZ). Spaces are significant for C and G constant types.

How nominal values are specified and interpreted by the assembler is explained in each of the subsections that follow. There is a subsection for each of the following types of constant:
  • Binary
  • Character
  • Graphic
  • Hexadecimal
  • Fixed-Point
  • Decimal
  • Packed Decimal
  • Zoned Decimal
  • Address
  • Floating-Point

Literal constants are described in Literal constants.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014