DIV
◄Summary► ◄Detail► ◄Example► ◄Key to Flags►
──────────────────────────────────────────────────────────────────────────────
Unsigned Divide Flags: O D I T S Z A P C
═════════════════
Syntax: DIV src ? ? ? ? ? ?
Divides an implied destination operand by a specified source operand.
Both operands are treated as unsigned numbers. If the source (divisor)
is 16 bits wide, then the implied destination (dividend) is the DX:AX
register pair. The quotient goes into AX and the remainder into DX.
If the source is 8 bits wide, the implied destination operand is AX.
The quotient goes into AL and the remainder into AH.
-♦-