请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号:TM4C123GH6PM 您好!
使用 FPU 和 Keil uVISION 5时遇到问题、
当我定义局部变量时、FPU 计算完成、我可以在浮点寄存器中看到结果、但声明变量的值保持为0、
但是、如果它是全局变量、数组 、或者我将 volatile 关键字与局部变量一起使用、则可以正常工作。
我在这里缺少什么?
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.
您好!
使用 FPU 和 Keil uVISION 5时遇到问题、
当我定义局部变量时、FPU 计算完成、我可以在浮点寄存器中看到结果、但声明变量的值保持为0、
但是、如果它是全局变量、数组 、或者我将 volatile 关键字与局部变量一起使用、则可以正常工作。
我在这里缺少什么?