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.
否则、我希望"float32_t"是32位/4字节。 在查看存储器分配时、包括在"Expressions"窗口中、它看起来略有不同。 看看下面的屏幕截图、该数组的每个元素都占用"2"地址。 浮点0例如0x17200和0x17201。 浮点1从0x17202开始。
我还认为、由于这是一个16位 MCU、因此每个地址可能都是针对一个16位字。 是这样吗? (抱歉、根据我与其他供应商合作的经验、无论微控制器是16位还是32位等、地址都是按字节排列的。)
谢谢!
Mark、您好!
Unknown 说:我还认为由于这是一个16位 MCU、因此每个地址可能对应一个16位字。 是这样吗?
是的、您的理解是正确的。 每个存储器地址为1个字、为16位。
此致、
Omer Amir