Hi, I am working on TMS320c6201 DSP processor using CCS V2. I am currently writing a program on the 6201 EVM. I have encountered a problem which I need some help with. There is a function in my project called rem_dc() which is called by main(). These functions are in different files. When I profiled the function (rem_dc() ), it took 3500 clock cycles (with -o3 optimization.). To optimize the code more, I generated the .asm file using k build option, and included it in my project. From the main file, I called the .asm function, rem_dc (). I then ran the program (again with o3, -pm & op3 optimization) rem_dc () in .asm took. 19,324 cycles. Why is there such a large difference? (b\w .c and .asm files) All my sections (data, program, etc) in the .cmd file are in internal program memory. Thanks Mos |