I have tried to use DSP_MAC() to multiply and accumulate but the result of the operation is not correct, I tried a simple math
a = a + b*c
where a is accumulator, b and c operands. But the results is double the correct answer
Code: Select all
A = dsp_clr();
A = dsp_mac(A,1,1,0,0,0,0,0,0,0);
Any idea?
Thanks