12.2.2 Non-Auto Variable Allocation and Access

Non-auto (static and external) variables have permanent storage duration and are located by the compiler into the data space memory. The compiler will also allocate non-auto const-qualified variables (see Const Type Qualifier) into the data space memory if the constants-in-data memory model is selected; otherwise, they are located in program memory.