Setting Residency Mode

Restriction: This topic applies to Windows environments only.

You specify the residency mode of a program and of any programs that the main program calls using the Residency mode field. Residency mode appears in two places:

Specify the residency mode for each Assembler program that does not need a separate link file to control the production of an executable code file, including any programs that the main program calls, using the Residency mode field, set on the Link page of the Property Pages for the program.

The valid combinations of AMODE and RMODE are:

Note: If you set AMODE to 31 and RMODE to 31, but the Assembler module contains 24-bit addresses, the Linker overrides your RMODE setting and loads the module below the line, and displays a warning message.