Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Establishing residence and addressing mode HLASM Language Reference SC26-4940-06 |
|
The AMODE and RMODE instructions specify the addressing mode (AMODE)
and the residence mode (RMODE) to be associated with control sections
in the object deck. You can specify
AMODE for ENTRY, EXTRN, and WXTRN instruction operands if
the GOFF option is specified. If OBJ format is used, then AMODE is
not valid for ENTRY, EXTRN, or WXTRN instruction operands.
AMODE and RMODE can be specified for any CSECT or START operand with
either OBJ or GOFF and without restriction on the xMODE operands.
These modes can be specified for these types of control sections:
The assembler sets the AMODE and RMODE indicators in the ESD record for each applicable external symbol in an assembly. The linker stores the AMODE and RMODE values in the bound program. They are later used by the loader program that brings the load module into storage. The loader program uses the RMODE value to determine where it loads the load module, and passes the AMODE value of the executable program's main entry point to the operating system to establish the addressing mode.
For more information about the AMODE and RMODE instructions, see AMODE instruction and RMODE instruction. |
Copyright IBM Corporation 1990, 2014
|