MY_ZEROPAGE: SECTION SHORT STSRSR: DS.B 1 BL_CS DS.W 1 UP_CS DS.W 1 MARK DS.W 1 ADRS: DS.W 1 LEN: DS.B 1 MY_ZEROPAGE已经在PRM文件中定义了,上面的定义中STSRSR、BL_CS有的有冒号,有的没有,请问有什么区别? NAMES END SECTIONS Z_RAM = READ_WRITE 0x0080 TO 0x00EF; C_RAM = READ_WRITE 0x0430 TO 0x043F; N_RAM = READ_WRITE 0x0100 TO 0x023F; VAR_ROM = READ_ONLY 0xFA80 TO 0xFAFF; // 96 PRT_ROM = READ_ONLY 0xFB00 TO 0xFDFF; // 512 FLB_ROM = READ_ONLY 0xFF7E TO 0xFF7E; END
PLACEMENT FLB_PROT_ROM INTO FLB_ROM; APL_VECT_ROM INTO VAR_ROM; DEFAULT_ROM, ROM_VAR INTO PRT_ROM; _DATA_ZEROPAGE, _OVERLAP, MY_ZEROPAGE INTO Z_RAM; DEFAULT_RAM INTO N_RAM; END |