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


Scale modifier

HLASM Language Reference
SC26-4940-06

The scale modifier specifies the amount of internal scaling that you want for:
  • Binary digits for fixed-point constants (H, F)
  • Hexadecimal digits for floating-point constants (E, D, L)

The scale modifier can be used only with the above types of constants. It cannot be used with EB, DB, and LB floating point constants.

The range for each type of constant is:
Fixed-point constant H
-187 to +346
Fixed-point constant F
-187 to +346
Floating-point constant E, EH
0 to 14
Floating-point constant D, DH
0 to 14
Floating-point constant L, LH
0 to 28

The scale modifier is written as Sn, where n is either a decimal self-defining term, or an absolute expression enclosed in parentheses. Both forms of the modifier's value n can be preceded by a sign; if no sign is present, a plus sign is assumed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014