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.
工具/软件:Code Composer Studio
大家好,我正在使用 tm4c123 (ARM cortex M4处理器)开发小型操作系统。 因此,为了保存和恢复上下文,我需要用汇编语言编写小代码。 我尝试在 code composer studio 中创建扩展名为.asm 的源文件。 但我必须 访问 在 main c main 中声明的几个 GLOBLE 变量,如下所示。
我不清楚如何在 CCS 中执行此操作,毫无疑问的是如何调用.asm 源文件中定义的函数。
LDR R0,=Runptr // Runptr 在其他源文件(即.c 文件)中声明
CCS
此行有多个标记
-[E0003]意外的尾随操作数
-[E0001]非法符号
-[E0200]表达式中的错误术语
谢谢你
Indrajit。