AMODESW QRY (Query Addressing Mode) Macro

The macro can be used to determine the current addressing mode of a program.

Format

Read syntax diagramSkip visual syntax diagramnameAMODESW QRY

Requirements for the caller

AMODE:
24 or 31
RMODE:
24 or ANY
ASC Mode:
Primary

Parameters

QRY
Determines the task 's current addressing mode. Upon completion, register 1 contains either all 0s for 24-bit addressing mode or nonzero (X' 80000000') for 31-bit addressing mode. Register 1 is the only register that is being altered.