in the variable defination ,if there are too many variables defined as following unsigned char code *Iterm[]= { " 1. realstate ", " 2. chang time ", " 3. system configue", " 4. event record ", " 5. version ", " 6. search record" }; there will be an error:'data' segment too large. while if the varibles are defined as unsigned char code Iterm[][20]= { " 1. realstate ", " 2. chang time ", " 3. system configue", " 4. event record ", " 5. version ", " 6. search record" }; there won't be such error. why? thank you !
View all questions in Keil forum