📄 demo.spc
字号:
/* Example specification file for Nucleus PLUS and CrossCode on a mythical
68030 Evaluation Board. This file is designed for all sections
to be loaded into RAM. See CrossCode documentation for details on
ROM linker specification files. Note: Nucleus PLUS defines several
new sections. */
partition { overlay {
/* ROM sections follow: */
/* CrossCode reset vectors. */
region {} reset;
/* Nucleus PLUS interrupt vector assignments. */
region {} vectors;
region {} init;
region {} exit;
/* Instruction area. */
region {} code[align=4];
/* Constant data area. */
region {} const[align=4];
/* Constant string area. */
region {} string[align=4, roundsize=4];
/* Start of ROM copy of RAM data section. In RAM model, DATA is
defined as the same address as the RAM data section. */
DATA = $;
/* RAM sections follow: */
/* Initialized data section. */
region {} data[align=4];
/* Uninitialized data section. */
region {} ram[align=4];
/* Section that defines RAM available for malloc */
region {} malloc[align=4,size=500];
/* Section that defines RAM available for system stack. */
region {} stack[align=4,size=500,roundsize=4];
/* Initial stack pointer. */
STKTOP = $;
/* Section that marks the beginning of available
memory for Nucleus PLUS. */
region {} sys_memory[align=4];
} example; } RAM[addr=0x4000];
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -