In my application I am required to do a 16 bit by 16 bit division by using assembly language, it is not a problem if by using C language but my whole code are written in assembly, and also it is not a problem if the dividend is bigger than divisor, however, in my application the dividend is definitely bigger than divisor, the result is expected to be 0.1--0.5.
Anyone have idea about this division in assembly? I also consider if by this way was too fussy, I have to mix some C function in my assembly codes, I know GCC assembler can do this job, right? Could anyone show me some sample codes?
Thanks a lot