[求助]代码大于16K,用到了ROM_4000的问题!!
 
- UID
- 123796
- 性别
- 男
|
[求助]代码大于16K,用到了ROM_4000的问题!!
如题,我在。PRM中看到了有这么一句
/* in case you want to use ROM_4000 here as well, make sure that all files (incl. library files) are compiled with the option: -OnB=b */
请问这句话是什么意思呢?
如何设置才能保证能够使用ROM_4000?? |
|
|
|
|
|
 
- UID
- 104380
- 性别
- 男
|
如果要使用ROM_4000页地址,只要把PRM文件中相关的注释符去掉即可。你也可以修改PRM文件让你需要的section写入此页即可。-OnB=b的设置是一个优化的开关,是关于子程序调用指令的优化。你可以看help文件中的说明。这句话的意思是,如果你用了两个非分页地址,就应该把此优化关闭,否则可能出现错误。 |
|
|
|
|
|