i wrote a machine language routine dividing a 32 bit unsigned by an 16 bit unsigned. Result is a 32 bit quotient and a 32 bit remainder.
I think about optimizing it. But for now it is OK.
If somebody is interested, please feel free to copy.
I think there is comment enough to understand it.
Any suggestions or comments or hints about it?