NBYTE
The NBYTE macro accesses individual bytes in the near memory class.
The NBYTE macro is defined as:
#define NBYTE ((unsigned char volatile near *)0) /* EDATA memory */
You may use this macro in your programs as follows:
#include <absacc.h> /* include absolute memory access macros */
:
:
#define IO NBYTE[0x8000] /* define IO as address 0x8000 in near memory */
if (IO) IO = 0; /* test address 008000H and assign a value */
unsigned int address;
NBYTE[address] = 0; /* set memory at location address to 0 */