Ceci est une ancienne révision du document !
Unsigned binary division of accumulator by source. If the source divisor is a byte value then AX is divided by “src” and the quotient is placed in AL and the remainder in AH. If source operand is a word value, then DX:AX is divided by “src” and the quotient is stored in AX and the remainder in DX.
(AF,CF,OF,PF,SF,ZF undefined)
Usage:
DIV src
Modifies flags:
CF OF
Clocks | Size | |||||
---|---|---|---|---|---|---|
Operands | 808x | 286 | 386 | 486 | Bytes | |
reg8 | 80-98 | 13 | 9-14 | 13-18 | 2 | |
reg16 | 128-154 | 21 | 9-22 | 13-26 | 2 | |
reg32 | - | - | 9-38 | 13-41 | 2 | |
mem8 | 86-104 | 16 | 12-17 | 13-18 | 2-4 | |
mem16 | 134-160 | 24 | 12-25 | 13-26 | 2-4 | |
mem32 | - | - | 12-21 | 13-42 | 2-4 |