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


Complex relocatable expressions

HLASM Language Reference
SC26-4940-06

Complex relocatable expressions, unlike relocatable expressions, can contain:
  • Two or more unpaired relocatable terms
  • An unpaired relocatable term preceded by a negative sign
Using the same symbols, here are examples of complex relocatable expressions:
    W+X                 *+*
    X-Y                 A-W+Y

Complex relocatable expressions are used in A-type and Y-type address constants to generate address constant values. For more details, refer to “Complex relocatable expressions”, and Address constants—A and Y. V-type and S-type constants cannot contain complex relocatable expressions. You can assign a complex relocatable value to a symbol using the EQU instruction, as described in EQU instruction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014