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
Содержание 2000
Страница 1: ...Rabbit 2000 Microprocessor User s Manual 019 0069 041018 M...
Страница 12: ...6 Rabbit 2000 Microprocessor...
Страница 46: ...40 Rabbit 2000 Microprocessor...
Страница 54: ...48 Rabbit 2000 Microprocessor...
Страница 76: ...70 Rabbit 2000 Microprocessor...
Страница 96: ...90 Rabbit 2000 Microprocessor...
Страница 142: ...136 Rabbit 2000 Microprocessor...
Страница 154: ...148 Rabbit 2000 Microprocessor...
Страница 170: ...164 Rabbit 2000 Microprocessor...
Страница 174: ...168 Rabbit 2000 Microprocessor...
Страница 180: ...174 Rabbit 2000 Microprocessor...
Страница 202: ...196 Rabbit 2000 Microprocessor...
Страница 206: ...200 Rabbit 2000 Microprocessor...
Страница 226: ......
Страница 230: ...224 Rabbit 2000 Microprocessor...