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


Complex relocatable expressions

HLASM Language Reference
SC26-4940-06

A complex relocatable expression can only specify an A- or Y-type address constant. These expressions contain two or more unpaired relocatable terms, or two or more negative relocatable terms in addition to any absolute or paired relocatable terms. A complex relocatable expression might consist of external symbols and designate an address in an independent assembly that is to be linked and loaded with the assembly containing the address constant.

The following example shows how, and why, a complex relocatable expression might be used for an A or Y address constant:
         EXTRN           X
 B       DC              A(X-*)       Offset from B to X

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014