当前位置: 代码迷 >> 汇编语言 >> 汇编异常Illegal mnemonic specified,大家帮帮忙啊多谢
  详细解决方案

汇编异常Illegal mnemonic specified,大家帮帮忙啊多谢

热度:9043   发布时间:2013-02-26 00:00:00.0
汇编错误Illegal mnemonic specified,大家帮帮忙啊!谢谢
* _sum.asm SUM subroutine
* called by exp2a.c
* Input: Array pointer
* Output: Return sum result in T0
  .global _sum

_sum

mov *AR0+,AC0 ;AC0 = x[1]
add *AR0+,AC0 ;AC0 = x[1]+x[2]
mov AC0,T0

ret ;Return T0
.end


ERROR! at line 9: [E0002] Illegal mnemonic specified
  mov *AR0+,AC0 ;AC0 = x[1]

"AssembleProgram.asm", ERROR! at line 10: [E0002] Illegal mnemonic specified
  add *AR0+,AC0 ;AC0 = x[1]+x[2]

"AssembleProgram.asm", ERROR! at line 11: [E0002] Illegal mnemonic specified
  mov AC0,T0

"AssembleProgram.asm", ERROR! at EOF: [E0300] Symbol mov has already been
  defined
4 Assembly Errors, No Assembly Warnings
这都是什错误啊!是有空格的事吗 ?

------解决方案--------------------------------------------------------
确定编译器可以处理这种DSP汇编?
  相关解决方案