IDIV
INTEGER DIVIDE
IDIV
Encoding:
11111011w
Imod111r/ml
if
w = 0 then NUMR = AX,
DIVR=
EA, QUO = AL,
REM
= AH, MAX =
7FH
else NUMR = DX:AX, DIVR = EA, QUO = AX,
REM
=
OX,
MAX = 7FFFH
IDIV
Operands
Clocks
Transfers
Bytes
IDIV
Coding
Example
reg8
101-112
-
2
IOIV
BL
reg16
165-184
-
2 IOIVCX
mern8
(107-118)
+ EA
1
2-4
IDIV
DIVISOR_BYTE
[SI]
mern16
(175-194)
+ EA
1
2-4
IDIV
[BX].DIVISOR_WORD
2-78