编了程序,data空间满了???怎么办?
Program space:
CODE used 269h ( 617) of 3FFh words ( 60.3%)
CONST used 0h ( 0) of 3FFh words ( 0.0%)
ENTRY used 13h ( 19) of 3FFh words ( 1.9%)
STRING used 0h ( 0) of 3FFh words ( 0.0%)
Data space:
BANK0 used 3Eh ( 62) of 40h bytes ( 96.9%)
COMBANK used 0h ( 0) of 40h bytes ( 0.0%)
EEPROM space:
EEDATA used 0h ( 0) of 80h bytes ( 0.0%)
Configuration bits:
CONFIG used 1h ( 1) of 1h word (100.0%)
ID Location space:
IDLOC used 0h ( 0) of 4h bytes ( 0.0%)
Summary:
Program space used 27Ch ( 636) of 3FFh words ( 62.2%)
Data space used 3Eh ( 62) of 40h bytes ( 96.9%)
EEPROM space used 0h ( 0) of 80h bytes ( 0.0%)
Configuration bits used 1h ( 1) of 1h word (100.0%)
ID Location space used 0h ( 0) of 4h bytes ( 0.0%)
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。
1.定义常量。如:LED的码值 前面加CONST
2.少定义全局变量。
3.优化算法。
676加BANKX关键字无效。
Data space=BANK0+BANK1+BANK2+BANK3+COMBANK
一周热门 更多>