![background image](http://html2.mh-extra.com/html/rabbit/2000/2000_user-manual_3110256102.webp)
96
Rabbit 2000 Microprocessor
8.4 Allocation of Extended Code and Data
The Dynamic C compiler compiles code to root code space or to extended code space.
Root code starts in low memory and compiles upward.
Figure 8-3. Example of Memory Mapping and Memory Usage
Allocation of extended code starts above the root code and data. Allocation normally con-
tinues to the end of the flash memory.
Data variables are allocated to RAM working backwards in memory. Allocation normally
starts at 52K in the 64K D space and continues. The 52K space must be shared with the
root code and data, and is allocated upward from zero.
Dynamic C also supports extended data constants. These are mixed in with the extended
code in flash.
Stack
xcode
window
64K
52K
56K
Root
code
Variables
Debug
Variables
Stacks
Root code and constants
Extended code
512K
1024K
0K
Available RAM
Summary of Contents for 2000
Page 1: ...Rabbit 2000 Microprocessor User s Manual 019 0069 041018 M...
Page 12: ...6 Rabbit 2000 Microprocessor...
Page 46: ...40 Rabbit 2000 Microprocessor...
Page 54: ...48 Rabbit 2000 Microprocessor...
Page 76: ...70 Rabbit 2000 Microprocessor...
Page 96: ...90 Rabbit 2000 Microprocessor...
Page 142: ...136 Rabbit 2000 Microprocessor...
Page 154: ...148 Rabbit 2000 Microprocessor...
Page 170: ...164 Rabbit 2000 Microprocessor...
Page 174: ...168 Rabbit 2000 Microprocessor...
Page 180: ...174 Rabbit 2000 Microprocessor...
Page 202: ...196 Rabbit 2000 Microprocessor...
Page 206: ...200 Rabbit 2000 Microprocessor...
Page 226: ......
Page 230: ...224 Rabbit 2000 Microprocessor...