IDIV
◄Summary► ◄Detail► ◄Example► ◄Key to Flags►
──────────────────────────────────────────────────────────────────────────────
Signed Divide Flags: O D I T S Z A P C
Syntax: IDIV src ═════════════════
? ? ? ? ? ?
Divides an implied destination operand by a specified source operand.
Both operands are treated as signed 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 is AX. The
quotient goes into AL and the remainder into AH.
-♦-