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.

CCS/TMS320C6713B: Error copiler asm function for FFT implementation - dwcfa

Part Number: TMS320C6713B

Tool/software: Code Composer Studio

Hi

I'm using want to use an asm function for implement an efficient FFT and when I try to copile appear this error:

Description    Resource    Path    Location    Type [E0002] Illegal mnemonic specified    digitrev_index.asm    /Emanuel    line 389    C/C++ Problem

It appear in all the lines which start with:                     .dwcfa

It is the first time that I try to included some asm code and that I do a question in the forum in english,

Sorry if a commited any mistake.

Thanks

Emanuel

  • Ema pionono said:
    I'm using want to use an asm function for implement an efficient FFT

    To do that for C6000 is a very ambitious goal.  It is difficult to manually write assembly code for C6000.  I highly recommend you don't even try.

    Instead, use one of the functions in DSPLIB, a library of DSP routines optimized for C6000.

    If none of the functions in DSPLIB solve your problem, then consider implementing it linear assembly.  Linear assembly is a programming language that, in terms of abstraction, is lower than C, but higher than assembly.  Learn about it by searching the C6000 compiler manual for the chapter titled Using the Assembly Optimizer.  Make your first function very simple.  Just pass one integer argument, add a constant to it, and return it.  Learn how to call that from C.  Slowly build from there.

    Thanks and regards,

    -George

  • I have never thougth in write an assembly code, I only tryed to use some asm fuctions that I found in other proyect.

    But I will take your advice and I will use DSPLIB fuction.

    Thanks