Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>fdiv divide real exception flags: i d z o u p</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FDIV              Divide Real                 Exception Flags: I D Z O U P

FDIV [[destination,] source]

       Logic:      ST(1) . ST(1)/ST, pop stack   (no operands)
                   ST . ST/memory location       (source only)
                   ST . ST/ST(i)                 (destination, source)

     FDIV divides two real numbers. If you do not specify any operands, ST(1)
     is divided by ST, the result is placed in ST(1), and then the stack is
     popped. If you specify a memory operand as a source, ST is divided by
     that operand and the result is left in ST. If you specify both a source
     and a destination, ST must be one operand and ST(i) another.

     If you specify a memory operand, it is converted to temporary real format
     before it is operated on.

  --------------------------------------------------------------------------
   Operands            Clocks         Bytes           Example
   FDIV                193-203          3             FDIV
   FDIV MEMORY_REAL    215-230+EA       5             FDIV REAL_NUMBER
   FDIV ST, ST(i)      197-207          3             FDIV ST,ST(1)
  --------------------------------------------------------------------------

See Also: FDIVP FDIVR FIDIV

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