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.

CCS5.5优化编译后影响程序的执行顺序

我这是个C语言的工程,现在是采样优化编译2的方式编译,但是在但不执行程序的时候跳来跳去不是按照顺序执行的,看回反汇编,是按照反汇编的顺序执行,那是怎么回事呢?如果每次都要看回反汇编,那写的C代码又有什么意义呢?应该选择什么样的优化才能让单步的时候按照C的顺序执行?谢谢