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代码从c5505移植到c5509a会编译错误

Other Parts Discussed in Thread: TMS320C5505

以前在C5505上运行的asm代码,我想弄到c5509a上运行,其他设置不变,只修改CCS4中“device variant ”为TMS320C5509A,结果编译出一堆错误。改回TMS320C5505就没有编译错误,错误都出现在ASM代码部分。c55x的总线什么的不都是一样的吗,为什么会出现编译错误呢?

比如:

asm代码:

RPT #3

 MAC *(AR0-T1),HI(*CDP+),AC2 ;

 :: MAC *(AR4-T1),LO(*CDP+),AC3

console:

"..\filter.asm", ERROR!   at line 150: [E9999] Syntax Error

MPY *(AR0-T1),HI(*CDP+),AC2

 

"..\filter.asm", ERROR!   at line 151: [E9999] Illegal directive or

                                                    mnemonic

:: MPY *(AR4-T1),LO(*CDP+),AC3