4.4.4 Absolute Variables

Objects can be located at a specific address by following their declaration with the construct __at(address), where address is the memory location at which the object is to be positioned. The CCI must be enabled (see 3.6.3.4 Ext Option) and <xc.h> must be included for this construct to compile. Such objects are known as an absolute objects.

Making a variable absolute is the easiest method to place an object at a user-defined location, but it only allows placement at an address which must be known prior to compilation and must be specified with each object to be relocated.