<<< IMUL Examples | Index | DIV Examples >>> |
The DIV (unsigned divide) instruction performs 8-bit, 16-bit, and 32-bit division on unsigned integers.
The instruction formats are:
DIV reg8/mem8 DIV reg16/mem16 DIV reg32/mem32
The single operand is the divisor:
dividend / divisor = quotient ( + remainder )
Quotient is the result of a division. For example, when dividing (7 / 4),
the quotient is 1,
the remainder after integer division is 3,
7 is called the dividend, and
4 is the divisor.
<<< IMUL Examples | Index | DIV Examples >>> |