DSPRelated.com
Forums

assembly error on compiler generated code

Started by romaxin January 31, 2005


Hi all,

I am new in DSP programming but have some experience on PC platform.
I am porting some code to the C55 simulator using CCS.
I can compile the code but not link it (the code is too large to use
the small memory model).
So I tryed to compile it using the large memory model. When doing so
I get compilation errors like this: "macroblock.asm", ERROR! at line 6455: [E9999] Syntax Error
MOV quad(*AR3(short(#6))), AC1 ; pre-rewrite ; |948|

"macroblock.asm", ERROR! at line 6455: [E9999] Invalid instruction
syntax, ','
expected
MOV quad(*AR3(short(#6))), AC1 ; pre-rewrite ; |948|

As you noticed, the error comes from the assembler. I am compiling
macrblock.c, the compiler generates macroblack.asm file which seems
to contain errors.
How can it be? The assembler file is huge (about 1400 Kb). Why the
compiler is generating a asm file with errors?
Some help please.