9.6.2 Data Pointers
For dsPIC33C/E/F and dsPIC30F architectures, all standard data pointers are 16 bits wide. This is sufficient to access the full data memory space.
These pointers are also able to access const
-qualified
objects, although in the program memory space, const
-qualified objects
appear in a unique memory range in the data space using the PSV window. In this case, the
-mconst-in-data
option should not be in force (see 6.6.1 Options Specific to DSC Devices for more
information).
Pointers which access the managed PSV space are 32-bits wide. The extra space allows these pointers to access any PSV page.
A set of special purpose, 32-bit data pointers are also available. See 11 Memory Allocation and Access for more information.
For dsPIC33A architecture, all data pointers are 32-bits wide which is sufficient to access then entire memory space. PSV, EDS and other architecture specific qualifiers are not required for this architecture. To aid in portability, the compiler will ignore these type qualifiers.