REALAD (Real Address Return) Macro

The macro returns the real address corresponding to a specified virtual address.

Format

Read syntax diagramSkip visual syntax diagramnameREALADaddress(1)

Requirements for the caller

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

Parameters

address | (1)
Is the virtual address to be converted. It can be specified as a symbol or in register notation.

Register 0 returns the 31-bit real address corresponding to the specified virtual address if and only if the virtual address points to a PFIXed page, otherwise register 0 contains 0. Thus, the macro can be used to test if a page is PFIXed.

The AMODE/RMODE of the caller can be 24 or 31 bit. When called in 24-bit mode, the address is treated as a 3-byte address; when called in 31-bit mode, the address is treated as a 4-byte address.

Note: The pages of a partition that run in real mode are treated as if they were fixed.