ADDRESS OF

The ADDRESS OF special register references the address of a data item in the LINKAGE SECTION, the LOCAL-STORAGE SECTION, or the WORKING-STORAGE SECTION.

For 01 and 77 level items in the LINKAGE SECTION, the ADDRESS OF special register can be used as either a sending item or a receiving item. For all other operands, the ADDRESS OF special register can be used only as a sending item.

The ADDRESS OF special register is implicitly defined as USAGE POINTER.

If LP(32) is in effect, 4 bytes are allocated for the special register; if LP(64) is in effect, 8 bytes are allocated for the special register.

A function-identifier is not allowed as the operand of the ADDRESS OF special register.