HVAR
The HVAR macro accesses absolute memory addresses in the huge memory area. You may use this macro in your programs as follows:
#include <absacc.h> /* Include Macro Definitions */
.
.
.
#define IOVAL HVAR (long, 0x14FFE) /* long at 0x14FFE */
var = IOVAL; /* read */
IOVAL = 0x10; /* write */
var = HVAR (int, 0x24002) /* read int from 0x24002 */
.
.
.
Note
- Objects accessed using this macro may not cross a 64KB segment boundary. For example, you cannot access a long variable at address 0x12FFFE.
Related Knowledgebase Articles