Mikroelektronika MIKROE-724 データシート

ページ / 726
mikroBasic PRO for dsPIC30/33 and PIC24
MikroElektronika
169
Data Memory (RAM)
Data memory consists of:
- SFR Memory Space 
- X and Y Data RAM 
- DMA RAM (only for dsPIC33F Family) 
- Unimplemented Memory Space
Data Memory (RAM) Organization
1. PIC24F Data Memory Organization 
2. dsPIC33F Data Memory Organization
SFR Memory Space
The first 2kB of data memory is allocated to the Special Function Registers (SFRs). The SFRs are control and status 
register for core and peripheral functions in the dsPIC.
X and Y Data RAM
Up to 8 kB of data RAM is implemented after the SFRs. This is general purpose RAM that can be used for data storage. 
This RAM is split into X and Y memory for dsPIC instructions. 
This allows DSP instructions to support dual operand reads, so that data can be fetched from X and Y memory space 
at the same time for a single instruction. 
The X and Y data space boundary is fixed for any given device. When not doing DSP instructions, the memory is all 
treated as a single block of X memory.