keil4.74中运行s3c2440程序出现警告 进行一步骤修改

安装提示 一步一步的修改 

解析 警告  warning: A1608W: MOV pc,<rn> instruction used, but BX <rn> is preferred。 

这需要配置keil软件 在option属性中Asm选项卡中去掉Enable ARM/Thumb Interworking选项。

编译出现一个警告

src\2440init.s(341): warning: A1876W: Use of '|' as a synonym for the :OR: operator is deprecated.

警告信息:warning: A1876W: Use of ‘|’ as a synonym for the :OR: operator is deprecated。

   

   

扫描二维码关注公众号,回复: 5835913 查看本文章

       解决方法:将警告敌法的“|”换成“:OR:”。这是因为MDK编译器里的汇编语法与RVDS中的语法有点区别,不过也是兼容的,所以只是给出一个警告。

      

最后还剩一个警告 可以不用管

猜你喜欢

转载自blog.csdn.net/dfl448866/article/details/87373428