📄 system.cmd
字号:
/*modify date:2004/07/05*/
/*by sandmy*/
MEMORY
{
PAGE 0: /*program memory section*/
VECS origin = 0000h, length = 0040h /*reset vectors*/
PVECS origin = 0044h, length = 0100h /*peripheral module interrupt vector,not used?*/
FLASH: origin = 0150h, length = 7EB0h /*code section in on-chip flash:0000h~8000h*/
SARAM_P: origin = 8000h, length = 1000h /*not used in this project*/
PAGE 1: /*data memory section*/
B2: origin = 0060h, length = 020h /*B2:0060~007F*/
B0: origin = 0200h, length = 100h /*B0:200~2FF*/
B1: origin = 0300h, length = 100h /*B1:300~3FF*/
SARAM_D: origin = 0800h, length = 800h /*on-chip SARAM when DON=1*/
EXT_SRAM: origin = 8000h, length = 7FFFh /*32k peripheral data memory section*/
PAGE 2: /*IO space section*/
IO_EXT: origin = 0000h, length = 0FEFFh /*external IO space*/
IO_IN : origin = 0FFF0h, length = 0Fh /*inner IO space*/
}
SECTIONS
{
.vectors: > VECS PAGE 0 /*interrupt sectors*/
.text: > FLASH PAGE 0 /*program codes*/
.data: > FLASH PAGE 0 /*??*/
.cinit > FLASH PAGE 0 /*C initialization table*/
.switch: > FLASH PAGE 0 /*Switch code table*/
.bss: > EXT_SRAM PAGE 1 /*variables*/
.const: > B0 PAGE 1 /*const variables*/
/* .stack: > B1 PAGE 1 */ /*system stack*/
.sysmem: > SARAM_D PAGE 1 /*dynamic allocated variables*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -