- UID
- 111109
- 性别
- 男
|
SECTIONS
Z_RAM = READ_WRITE 0x0080 TO 0x00FF;
RAM = READ_WRITE 0x0100 TO 0x107F;
ROM = READ_ONLY 0x202D TO 0xFEFF;
ROM2 = READ_ONLY 0x1080 TO 0x17FF;
APP_ROM = READ_ONLY 0x182C TO 0x202C
PLACEMENT
DEFAULT_ROM INTO ROM
DEFAULT_RAM INTO RAM;
_DATA_ZEROPAGE, MY_ZEROPAGE INTO Z_RAM;
SYSTEM_CONFIG INTO APP_ROM
上面是我的代码,其中
APP_ROM = READ_ONLY 0x182C TO 0x202C和
SYSTEM_CONFIG INTO APP_ROM
是我自己在给的例程序上添加的,我想开辟APP_ROM 用来存储系统参数,开始现在编译时说我SYSTEM_CONFIG没有定义,但是我也找不到原有的_DATA_ZEROPAGE, MY_ZEROPAGE是在那定义的,一些默认的参数在哪设置呢?像这些还有CONST_SEG DEFAULT中的DEFAULT等等,请版主和知道的大侠指点一二◎!!! |
|