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.
您好!
我们尝试使用__int20替换__data20。 但 CCS (GCC)编译器也无法识别它。
请建议是否使用任何特定机制来区分20位大指针和 GCC 编译器中使用的常规数据指针。
谢谢。
此致、
Kannan M
您正在尝试做什么?
可以通过两种方法对0x10000以上的存储器进行寻址。 第一种方法是告诉编译器使用大内存模型与-mlarger 编译器开关。 另一个是使用__data20_xxxx 内在函数。
您好 Kannan、
CCS 中没有__data20的1:1等效值,但可以使用内存模型选项设置行为。 《MSP430编译器用户指南 》的第6.1节对此进行了详细介绍。 用户指南的第6.7.1节还提供了编译器支持的内在函数的相关信息、这些信息可能也会有所帮助。
最棒的
Amruta