Intel 253666-024US User Manual
Page 311

Vol. 2A 3-265
INSTRUCTION SET REFERENCE, A-M
DIV—Unsigned Divide
Operation
IF SRC
=
0
THEN #DE; FI; (* Divide Error *)
IF OperandSize = 8 (* Word/Byte Operation *)
THEN
temp ← AX / SRC;
IF temp > FFH
THEN #DE; (* Divide error *)
ELSE
AL ← temp;
AH ← AX MOD SRC;
FI;
ELSE IF OperandSize
=
16 (* Doubleword/word operation *)
THEN
temp ← DX:AX / SRC;
IF temp > FFFFH
THEN #DE; (* Divide error *)
ELSE
AX ← temp;
DX ← DX:AX MOD SRC;
FI;
FI;
ELSE IF Operandsize = 32 (* Quadword/doubleword operation *)
THEN
temp ← EDX:EAX / SRC;
IF temp > FFFFFFFFH
THEN #DE; (* Divide error *)
ELSE
EAX ← temp;
EDX ← EDX:EAX MOD SRC;
FI;
FI;
Table 3-20. DIV Action
Operand Size
Dividend
Divisor
Quotient
Remainder
Maximum
Quotient
Word/byte
AX
r/m8
AL
AH
255
Doubleword/word
DX:AX
r/m16
AX
DX
65,535
Quadword/doubleword
EDX:EAX
r/m32
EAX
EDX
2
32
− 1
Doublequadword/
quadword
RDX:RAX
r/m64
RAX
RDX
2
64
− 1
- 41210 (64 pages)
- 8xC251TQ (20 pages)
- ENTERPRISE PRINTING SYSTEM (EPS) 4127 (84 pages)
- U3-1L (20 pages)
- 80960HA (104 pages)
- X58 (54 pages)
- ESM-2850 2047285001R (91 pages)
- ATOM US15W (54 pages)
- D915GVWB (4 pages)
- XP-P5CM-GL (28 pages)
- AX965Q (81 pages)
- CORETM 2 DUO MOBILE 320028-001 (42 pages)
- CV700A (63 pages)
- 80C188EA (50 pages)
- X25-M (28 pages)
- XP-P5IM800GV (26 pages)
- IB868 (60 pages)
- D865GVHZ (88 pages)
- IB865 (64 pages)
- Altera P0424-ND (1 page)
- 8086-2 (30 pages)
- IXDP465 (22 pages)
- IWILL P4D (104 pages)
- GA-8I955X PRO (88 pages)
- FSB400 (PC2100) (96 pages)
- D845GLAD (4 pages)
- NAR-3041 (1 page)
- 87C196CA (136 pages)
- G52-M6734XD (74 pages)
- A96134-002 (10 pages)
- Express Routers 9000 (8 pages)
- 82540EP (45 pages)
- D865GLC (94 pages)
- IB850 (69 pages)
- MB898RF (62 pages)
- Arima LH500 (78 pages)
- V09 (33 pages)
- I/O Processor (22 pages)
- M600 (110 pages)
- SE7520JR2 (63 pages)
- SERVER BOARD S5520HCT (30 pages)
- Extensible Firmware Interface (1084 pages)
- GA-8IPXDR-E (70 pages)
- D845EBG2 (4 pages)
- AW8D (80 pages)