Yes I'm stupid, blind and.... who know what..
Of course you can not do the division like that, instead:
rr = 10000*L
R = div32 H
And this gives the correct answer
I will still do some testing and soon I will tell if this was the final solution.........
Bookmarks