在线时间24 小时
UID164004
注册时间2007-6-13
NXP金币0
该用户从未签到
中级会员
 
- 积分
- 228
- 最后登录
- 2019-3-31
|
/* This is a linker parameter file for the mc9s08pa32 */
NAMES END /* CodeWarrior will pass all the needed files to the linker by command line. But here you may add your own files too. */
SEGMENTS /* Here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
Z_RAM = READ_WRITE 0x0048 TO 0x00FF;
RAM = READ_WRITE 0x0100 TO 0x07FF;
SS_RAM = READ_WRITE 0x0800 TO 0x103F; /********/
ROM = READ_ONLY 0x8000 TO 0xFF6F;
ROM1 = READ_ONLY 0xFF80 TO 0xFFAF;
EEPROM = READ_ONLY 0x3100 TO 0x31FF;
/* INTVECTS = READ_ONLY 0xFFB0 TO 0xFFFF; Reserved for Interrupt Vectors */
END
PLACEMENT /* Here all predefined and user segments are placed into the SEGMENTS defined above. */
FAR_RAM /* non-zero page variables */
INTO RAM;
SSTACK INTO SS_RAM; /*********/
_PRESTART, /* startup code */
STARTUP, /* startup data structures */
ROM_VAR, /* constant variables */
STRINGS, /* string literals */
VIRTUAL_TABLE_SEGMENT, /* C++ virtual table segment */
DEFAULT_ROM,
COPY /* copy down information: how to initialize variables */
INTO ROM; /* ,ROM1: To use "ROM1" as well, pass the option -OnB=b to the compiler */
_DATA_ZEROPAGE, /* zero page variables */
MY_ZEROPAGE, DEFAULT_RAM INTO Z_RAM;
END
STACKSIZE 0x200
VECTOR 0 _Startup /* Reset vector: this is the default entry point for an application. */
/*******/部分为改动部分,改动后程序运行不正常,请问错误的地方?
|
|