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.

线性汇编数据类型



 

 

 

我用ccs调试编写的线性汇编程序时,进行的是浮点指令运算,但是得到的结果确实按int类型去进行运算的。如上图。

但我用的是addsp,mpysp等指令,如果把radix选择为float则为正确值,但是,在返回只是,是按int类型返回的。请大神指教,这是什么原因?