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


Relative address

HLASM Language Reference
SC26-4940-06

A relative address is specified by coding one expression. The expression is relocatable or absolute. If a relocatable expression is used, then the assembler converts the value to a signed number of halfwords relative to the current location counter, and then uses that value in the object code. An absolute value can be used for a relative address, but the assembler issues a warning message, as it uses the supplied value, and this might cause unpredictable results.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014