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.

28335 更换不同机器的ccs3.3,编译结果不一样

28335在win7+CCS3.3环境下编译,if else的条件跳转执行异常,出现两条条件都进的情况。通过看汇编发现,确实是两个条件都进去,不知道为什么?代码如下图1所示。

又将代码考到另一台机器上,xp+3.3,编译正常,出现跳转的汇编语句,如图2所示。这应该是编译环境的问题,求教是什么导致的这种情况发生?谢谢

图一:无跳转

图二:有跳转