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:用于访问 a'c'program 中某个函数的汇编指令

Guru**** 2465890 points


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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1473516/msp432e401y-assembly-directive-to-access-a-function-in-a-c-program

器件型号:MSP432E401Y

工具与软件:

您好!

我正在 Code Composer Studio 中开发一个项目、其中包含许多"c"程序和一个汇编程序。 我需要访问位于汇编程序的"c"程序之一中的函数。  'c'函数是 lwIPInit (--)、它位于程序 lwiplib.c.中

有人能告诉我,我需要使用什么指令来允许我的汇编代码访问 lwIPInit (--)函数吗?  我曾尝试使用".extern"、然后使用".include"、但它们都导致了汇编器错误。

谢谢你。