AnsweredAssumed Answered

Is it possible to pass C variables to an assembly function?

Question asked by MarcS. on Jan 11, 2010
Latest reply on Jan 11, 2010 by MarcS.



I'm using the ADSP-21469 with VisualDSP++. I would like to know if it is possible to pass C variables to an assembly function by using the function header.

I have written an IIR filter algorithm and I would like to use the filter function for two channels, so I have 2 buffers for the delay units and 2 buffers for the coefficients. I would like to pass the start addresses of these buffers to the filter function, so I need function code only once.


I hope somebody can help me. I have already searched in the Manual, but I did not find something which could solve my problem.


Best regards,