|
(原文件名:error.jpg)
我定义的RAM的 变量 大概90个,该单片机有256byte的RAM,应该怎么修改呢?
prm文件如下
SEGMENTS /* Here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. */
ROM = READ_ONLY 0xDC00 TO 0xFBFF;
Z_RAM = READ_WRITE 0x0060 TO 0x00FF;
RAM = READ_WRITE 0x0100 TO 0x015F;
END
PLACEMENT /* Here all predefined and user segments are placed into the SEGMENTS defined above. */
DEFAULT_RAM INTO RAM;
DEFAULT_ROM, ROM_VAR, STRINGS INTO ROM; /* In case you want to use as well, be sure the option -OnB=b is passed to the compiler. */
_DATA_ZEROPAGE, MY_ZEROPAGE INTO Z_RAM;
END
变量定义到RAM区, 只有0x5f个,95个。我能不能吧Z_RAM的区域 缩小下啊?高手指点下、谢谢 |
|