Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- iAPx86 - <b>mul multiplication, unsigned flags: o d i t s z a p c</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MUL             Multiplication, Unsigned             Flags: O D I T S Z A P C
                                                            * - - - ? ? ? ? *
MUL source

        Logic   AX . AL * source        ; Source is a byte
             or
                DX:AX . AX * source     ; Source is a word
             or
                EDX:EAX . EAX * source  ; Source is a dword (386+)

    MUL performs unsigned multiplication.

    The carry and overflow flags (CF and OF) are set to 1 if the
    high-order of the result (AH,DX, or EDX, respectively) contains
    any significant digits; otherwise, CF and OF are reset to 0.


    Opcode      Format
    F6 /4       MUL  r/m8
    F7 /4       MUL  r/m16
    F7 /4       MUL  r/m32


    Length and timing
    Operands    Bytes   8088    186     286     386     486     Pentium
    r8           2     70-77    26-28   13      9-14   13-18    11   NP
    r16          2    118-133   35-37   21      9-22   13-26    11   NP
    r32          2       -        -      -      9-38   13-42    10   NP
    mem8    2+d(0-2)  76-83+EA  32-34   16     12-17   13-18    11   NP
    mem16   2+d(0-2) 124-139+EA 41-43   24     12-25   13-26    11   NP
    mem32   2+d(0-2)     -        -      -     12-41   13-42    10   NP

See Also: IMUL SHL SHLD AAM AAD

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson