ASM Newbie Question: 10/6 Byte Division

  • Thread starter Brazilian Fan
  • Start date
  • Tags Tags
    Division
3 replies · 3K views · last reply
Brazilian Fan
Messages
2
Reaction score
0
Hi, I am new here and I got a newbie ASM Question:

How to divide, say, a 10 by 6 bytes number if the DIV (or IDIV) opcode only supports a 8 by 4 Bytes division?

Thanks in advance
 
Last edited:
One way would be to simply use the same algorithm you used in grade-school for long division.

- Warren