CBYTE
The CBYTE macro accesses individual bytes in the code memory class.
The CBYTE macro is defined as:
#define CBYTE ((unsigned char volatile code *)0) /* CODE memory */
You may use this macro in your programs as follows:
#include <absacc.h> /* include absolute memory access macros */
:
:
rval = CBYTE [0x0002]; /* read contents of CODE memory at 0002H */
This example reads the contents of the byte in program memory at address 0002h.