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.

Assembly code

Other Parts Discussed in Thread: SPRC100

Hello,

I am working on C5535eZdsp board which i have bought recently. I am able to run all the examples.

I was able to run the C-code of LMS algorithm for 10 tap filter. I want to increase the tap length from 10 to 64. In C-code to run the algorithm for 64 tap filter it takes too much time. Is it any way to convert my c-code algorithm in assembly language and increase the tap length from 10 to 64? I am naive in assembly language.

How can i go about it.

Thanks

  • Vyonkesh,

     Although I find assembly coding extremely entertaining, you may want to try TI's DSP library first:

     http://www.ti.com/tool/sprc100

     They have an implementation of the LMS filter that may meet your needs; at the very least, it could be a starting point for your own implementation.

    Another thing you can try is to compile your LMS C function to assembly using the compiler.  Then, read the assembly output to understand what the compiler is doing.  Find areas where you can make improvements.  Although this approach is less efficient than starting from scratch with a good design in mind, it will help you quickly get up to speed on assembler syntax for the types of constructions you use when you code your C.