如果我在prm文件中如下定义,在S19文件中没有写入EEPROM的机器码,并且如果我使用value的首地址,发现它在0x2000处:
SEGMENTS
RAM = READ_WRITE 0x2000 TO 0x3dff;
RAMSTACK = READ_WRITE 0x3e00 TO 0x3fff;
EEPROM = READ_ONLY 0x800 TO 0XFFF;
END
PLACEMENT
EEPROM_DATA INTO EEPROM
END
c文件下
#pragam CONST_SEG EEPROM_DATA
const word value[2]={0xaa,0xaa};