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.

[参考译文] 芯片组指针大小

Guru**** 2587345 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1056341/chipset-pointer-size

大家好、我只想确认 TMS320Fxxxx 系列上的指针大小。

如果我有

uint16 * p_addr;

或  

uint32 * p_addr2;

这两个都是实际存储器中的32位、对吧?

谢谢、

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    [引用 userid="497352" URL"~/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/1056341/chipset-pointer-size "]这两个字段在实际内存中均为32位

    是的。  指针的存储器为32位。  但是 、编译器假定全局变量和函数的地址在22位以内。  有关详细信息、 请在 C28x 编译器手册中搜索 标题为 "数据类型"的子章节。

    谢谢、此致、

    乔治