Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Setting and checking the addressing mode z/OS MVS Programming: Extended Addressability Guide SA23-1394-00 |
|
z/Architecture® provides three new Set Addressing Mode instructions that allow you to change addressing mode. The instructions are SAM24, which changes the current AMODE to 24, SAM31, which changes the current AMODE to 31, and SAM64, which changes the current AMODE to 64. Starting with z/OS® V1R3,
there are other ways for a program to be in AMODE 64:
The AMODE bits in the PSW tell the processor what AMODE is currently in effect. You can obtain the current addressing mode of a program by using the Test Addressing Mode (TAM) instruction. In response, TAM sets a condition code based on the setting in the PSW; 0 indicates AMODE 24, 1 indicates AMODE 31, and 3 indicates AMODE 64. |
Copyright IBM Corporation 1990, 2014
|