Hi, Toalan

The answer is in your question ...

IF you want to calculate ... use a real DSP, not an " old all purpose " 16F 877 ... I think Microchip has committed some good ones ...

But you have to use the adapted language for speed, speed , and speed.

A little joke: a high level mathematician from our National research resort ( the CNRS ) , on another list, wanted to show us what is " THE Right programming " ... on the same project, he proposes a 18F1320@40 Mhz ... When I propose a 16F84@ 10Mhz, with extra features, using 1/2 memory !!!

First job is to select the adaquate tool ...don't you think ???

Alain