21.1 Default Memory Spaces

The compiler defines several special purpose memory spaces to match architectural features of 32-bit MCU devices. Static and external variables may be allocated in the special purpose memory spaces through use of the space attribute, described in Variable Attributes.

data

General data space. Variables in general data space can be accessed using ordinary C statements. This is the default allocation.

xmemory

X data address space. Variables in X data space can be accessed using ordinary C statements. X data address space has special relevance for DSP-oriented libraries and/or assembly language instructions.

ymemory

Y data address space. Variables in Y data space can be accessed using ordinary C statements. Y data address space has special relevance for DSP-oriented libraries and/or assembly language instructions.

prog

General program space, which is normally reserved for executable code. Variables in this program space can also be accessed using ordinary C statements.