XVAR
The XVAR macro accesses absolute memory addresses in the xhuge memory area. You may use this macro in your programs as follows:
#include <absacc.h> /* Include Macro Definitions */
.
.
.
#define IOVAL XVAR (long, 0x14FFE) /* long at 0x14FFE */
var = IOVAL; /* read */
IOVAL = 0x10; /* write */
var = XVAR (int, 0x24002) /* read int from 0x24002 */
.
.
.
Note
- Objects accessed using this macro may cross a 64KB segment boundary.