This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

【求助】cmd文件的page n,n可以取0-255,但实际当中没见到有page3 page4……page255,请问为什么呢?

刚买了ti28335进行学习。新建工程之后出现了warning #10247-D: creating output section "reset_vec" without a SECTIONS specification。我想应该是cmd文件出了问题。在对cmd文件进行学习的时候,我有个疑问,资料上写的page n,n是从0-255,但基本上所有的cmd文件中只用个page0跟page1,怎么没人用page3 page4 page5.。。。。。.并直接说明page0代表是代码存储器,page 1对应的是数据存储器。我不明白这个page 0跟page 1这个代码跟数据是怎么规定的。麻烦大家跟我讲讲,不胜感谢。也有人说page0可以用别的符号去代替,那编译器怎么识别得出那个是放代码段那个是放数据段的呢?