|
发表于 2010-1-31 02:02:58
|
显示全部楼层
There are 3 memory models available for programs using the Keil C compiler – SMALL, COMPACT and LARGE. In the SMALL memory model the default storage location is the 126 Bytes of internal memory while in the LARGE memory model the default storage location is the externally addressed memory. The choice of which memory model to use depends on the program, the anticipated stack size and the size of data. If the stack and the data cannot fit in the 128 Bytes of internal memory, then the default memory model should be LARGE; otherwise, SMALL should be used. |
|