Details Table
┌──────────┬────────────────────┬─┬─┬─┬─┬─┬─┬──────────────────────────────────┐
│Encoding │Instruction │0│1│2│3│4│5│Description │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F6 /7 │IDIV r/m8 │X│X│X│X│X│X│Signed divide AX (where AH must │
│ │ │ │ │ │ │ │ │contain sign-extension of AL) by │
│ │ │ │ │ │ │ │ │r/m byte (results: AL=Quotient, │
│ │ │ │ │ │ │ │ │AH=Remainder) │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F7 /7 │IDIV r/m16 │X│X│X│X│X│X│Signed divide DX:AX (where DX must│
│ │ │ │ │ │ │ │ │contain sign-extension of AX) by │
│ │ │ │ │ │ │ │ │r/m word (results: AX=Quotient, │
│ │ │ │ │ │ │ │ │DX=Remainder) │
├──────────┼────────────────────┼─┼─┼─┼─┼─┼─┼──────────────────────────────────┤
│F7 /7 │IDIV r/m32 │ │ │ │X│X│X│Signed divide EDX:EAX (where EDX │
│ │ │ │ │ │ │ │ │must contain sign-extension of │
│ │ │ │ │ │ │ │ │EAX) by r/m dword (results: │
│ │ │ │ │ │ │ │ │EAX=Quotient, EDX=Remainder) │
└──────────┴────────────────────┴─┴─┴─┴─┴─┴─┴──────────────────────────────────┘
[Back: IDIV-Signed Divide]
[Next: Description]