Hi everyone,
I have to calculate with 16bit numbers, but the result has to be 24 or 32 bit:
result = a * 5 / 3 ' 0 < a < 60000
The result sometimes doesnt fit in a word variable. Therefore I used the floating point routines, but that needs to much flash. Is there a way to do this calculation with div32?
Thanks in advance,
Best Regards,
Tomas