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. */
ROM = READ_ONLY 0xDE00 TO 0xFDFF;
Z_RAM = READ_WRITE 0x0080 TO 0x00FF;
RAM = READ_WRITE 0x0100 TO 0x017F;
END
PLACEMENT /* Here all predefined and user segments are placed into the SEGMENTS defined above. */
DEFAULT_RAM INTO RAM;
_DATA_ZEROPAGE, MY_ZEROPAGE INTO Z_RAM;
DEFAULT_ROM, ROM_VAR, STRINGS INTO ROM;
MYRAM INTO RAM;
END
STACKSIZE 0x30
//VECTOR 0 _Startup /* Reset vector: this is the default entry point for a C/C++ application. */
VECTOR 0 Entry /* Reset vector: this is the default entry point for an Assembly application. */
INIT Entry /* For assembly applications: that this is as well the initialization entry point */
这个是我的PRM文件,现在我在MYRAM中定义了一个常量如下:
MYRAM: SECTION
NumTable FCB $3f,$06,$5b,$4f,$66,$6d,$7d,$07,$7f,$6f,$00
但是在我的调试界面中的memory窗口中的相应位置并没有发现这些数据,这是怎么回事?作者: strongchen 时间: 2005-9-29 14:11