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.
尊敬的
我在使用____ asm 函数时从 CCS 编译器收到错误 消息、指出表达式中存在错误术语、我的汇编代码副本下方
_asm (
//将矢量表偏移更新为应用矢量表
" LDR r0、= 0x20004000\n"
" LDR R1、= 0xe000ed08\n"
" str r0,[R1]\n"
//从应用程序矢量表更新堆栈指针。 向量表的第一个条目是 SP
" LDR R1、[r0]\n"
" mov sp,r1\n"
//加载应用程序复位处理程序并跳转到用户代码
" LDR r0、[r0、#4]\n"
" bx r0\n");