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.

[参考译文] MSP432E401Y:包括 C 语言的汇编代码

Guru**** 2539500 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1059778/msp432e401y-including-assembly-code-in-c

器件型号:MSP432E401Y

我正在使用 CCS 对该器件进行编程、我想包含一些汇编代码。  现在、我只是使用内联汇编指令、但这非常费力。  我想在单独的.asm 文件中编写我的代码、并将其包含在 C 程序中。

可以有人告诉我如何操作?  对于在 CCS 中使用汇编代码、还有其他建议吗?

谢谢你。