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.

关于CCSv4 + MSP430 汇编的问题

请问,原来在IAR下面的 用于声明外部函数 外部变量的 汇编伪指令   EXTERN 

在CCSv4 里面对应什么样的伪指令 ,谢谢

  • 2.7.1 External Symbols

    External symbols are symbols that are defined in one file and referenced in another file. You can use the

    .def, .ref, or .global directive to identify symbols as external:

    .def The symbol is defined in the current file and used in another file.

    .ref The symbol is referenced in the current file, but defined in another file.

    .global The symbol can be either of the above.