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


Controlling address assignment

HLASM Language Reference
SC26-4940-06

If you code the correct assembler instruction, the assembler computes the relative offset, or displacement from a base address, of any symbolic addresses you specify in a machine instruction. It inserts this displacement, along with the base register assigned by the assembler instruction, into the object code of the machine instruction.

At execution time, the object code of address references must be in relative-immediate or base-displacement form. The computer obtains the required address by adding the displacement to the base address contained in the base register, or from the relative-immediate offset of the instruction.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014