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/TMS320F28335:CCS 上 INT、Chatt、float、double、long long INT 的大小

Guru**** 2226740 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/661682/ccs-tms320f28335-size-of-int-chatt-float-double-long-long-int-on-ccs

器件型号:TMS320F28335

工具/软件:Code Composer Studio

尊敬的先生:  

        请告诉我 CCS 软件上 INT、Chatt、float、double、long long INT 的大小

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    你好
    大小比 IDE 更依赖于编译器和目标 CPU。
    在您的情况(F28335)中:int、char - 16位;float、double、long、long int - 32位。 long long、long double - 64位。
    您可以在 C28 C/C++编译器参考文档编号 SPRU514的"语言实现->数据类型"段落中找到完整信息