Integer attribute (I')
The integer attribute has a numeric value that depends on the length
and scale attribute values of the data being referred to by the attribute
reference. The
formulas relating the integer attribute to the length and scale attributes
are given in Table 1.
The integer attribute can also be specified outside conditional
assembly instructions. Then, the integer attribute value is not used
for conditional assembly processing, but is used as a value at assembly
time.
Notes:
- The integer attribute reference can be used only in arithmetic expressions.
- When no integer attribute value can be determined, the reference is flagged and the integer attribute is 1.
- If the value of the SETC symbol is equal to the name of an instruction that can validly define the integer attribute, the assembler lets you use the integer attribute with a SETC symbol.
- Binary floating-point constants return an attribute of 0.
- Decimal floating-point constants return an attribute of 0.
- The integer attribute reference can only be used in arithmetic expressions in conditional assembly instructions, and in absolute and relocatable expressions in assembler and machine instructions.
Constant Type | Formula Relating Integer to Length and Scale Attributes | Examples | Values of the Integer Attribute |
---|---|---|---|
Fixed-point(H and F) |
|
|
|
Floating-point
(D, E, and L) L-type only |
|
|
|
Decimal¹
Packed (P) Zoned (Z) |
|
|
|
Note:
|