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 files



Posting on behalf of the customer-

_______________________________________________________________________________________________________

<from email>

I grabbed the ADS1298ECG MDK, pulled it into Code Composer and built a project. All went well except for the assembly code of the "FIR" filter. The project has two ASM files doing FIR related functions. One compiles (fir2.asm) the other (FIR_Filter.asm) doesn't. The file that doesn't compile looks like it requires a pre-processor. I don't think thie mnemonics are proper - maybe it was preprocessed by something else, and Code Composer cries foul.

Here is a snippet (I also attached the source)

_ECG_FilterProcess:

        AC0 = 0;
       
        repeat (#351)
        AC0 = AC0 + ((*AR0-)* (*AR1+));

;        repeat (#351)
;        AC0 = AC0 + ((*AR0-)* (*CDP+)) || AC1 = AC1 + ((*AR1-)* (*CDP+));
       
        (*AR2+) = HI(AC0);
        (*AR2) = AC0;
       
        return

  • Can this code be used as is with a switch within Code Composer?
  • Is there an external tool that compiled this code?
  • Where can I find a document listing the assembly mnemonics (MOV, MUL etc) that would allow me rewrite this, if needed?