I'm analyzing for exercise this assembly piece of code, but I can't understand what it means...
there is fractional arithmetic (I think 23165 is FRAC16(root(2)/2)), but I'm not sure).
Also the rep+div instructions and the 16-bit to 32-bit and backward operations are quite hard to understand for me.
Somebody can explain me in details the maths operations behind this code? Even in C code, no problem.
The scope of this calculation should be about Ripple elimination/rescaling of stator voltage in ACIM vector control (SVM) driving, but I'm not sure.
Thanks a lot in advance