📄 test.cmd
字号:
/*
/*--------------------------------------------------------*/
/* WQ21ST SOFTWARE STUDIO. */
/*--------------------------------------------------------*/
/*
* The memory mapping in this file should match the mapping in the
* EMUINIT.CMD file in the load directory
*/
/* linker commands */
-c /* ROM autoinitialization */
-x /* force rereading libraries */
-o test.out /* output file */
-m test.map /* map file */
/* files to be linked */
test.obj
memtest1.obj
memtest2.obj
uart1.obj
led.obj
dac.obj
led_4p.obj
sw_4p.obj
blkmove.obj
pll2407.obj
vectors.obj
boot2407.obj /* use included boot object instead */
/* of runtime support object */
/* libraries to be linked */
-l rts2xx.lib /* Run Time Support */
/* specify memory map */
MEMORY
{
PAGE 0 : /* program memory */
VECS: origin = 00000h, length = 0007Fh
CODE: origin = 00000h, length = 0FD90h
PAGE 1 : /* data memory */
Regs : origin = 00000h, length = 0006Fh
Ext_Ram : origin = 08000h, length = 07FFFh
}
/* specify sections */
SECTIONS
{
vectors : > VECS PAGE = 0
.cinit : > CODE PAGE = 0
.text : > CODE PAGE = 0
.switch : > CODE PAGE = 0
/*.const : load = CODE PAGE 0, run = Ext_Ram PAGE 1
* {
* __const_run = . ;
* *(.c_mark)
* *(.const)
* __const_length = . - __const_run;
* }
*/
.data : > Ext_Ram PAGE = 1
.bss : > Ext_Ram PAGE = 1
.heap : > Ext_Ram PAGE = 1
.stack : > Ext_Ram PAGE = 1
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -