The __at Keyword
The __at keyword allows you to specify the address for variables in your C source files. The following example demonstrates how to locate variable types using the __at keyword.
struct link {
struct link idata *next;
char code *test;
};
struct link list __at 0x00014000; // list at 0x00014000
int const MyVal __at 0x81000000 = 0x123; // MyVal at 0x81000000 with initialization
Refer to Absolute Variable Location for more information about the _at_ keyword.