用ads1.0.1的编译器跑ucosII的移植代码,出现如下错误 "Micrium/Ports/arm/os_cpu_a.s", line 28 (column 12): Error: A1163E: Unknown opcode 28 00000000 PUBLIC OS_CPU_SR_Save ; Functions declared in this file "Micrium/Ports/arm/os_cpu_a.s", line 82: Fatal error: A1355U: A Label was found which was in no AREA 82 00000000 OS_CPU_SR_Save 用的是从ucos官方网站下载的arm的移植代码1.50版,这个os_cpu_a.s文件我没改动过,出错的源代码如下 28: PUBLIC OS_CPU_SR_Save
RSEG CODE:CODE:NOROOT(2) CODE32 82:OS_CPU_SR_Save MRS R0,CPSR 请高手指教,这个编译错误怎么解决?谢谢 |