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>fstp store real and pop exception flags: i o u p</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FSTP              Store Real and Pop          Exception Flags: I O U P

FSTP destination

       Logic:      destination . ST
                   pop stack

     FSTP is the same as FST, except that it also pops the stack. It first
     stores the real value in ST into destination, which is either a long
     or short real memory location, or an ST(i) register. It then pops the
     stack. If the value in ST is longer than the memory location, it is
     rounded (according to the rounding control field, RC).

  --------------------------------------------------------------------------
   Operands            Clocks         Bytes           Example
   FSTP register       17-24            3             FSTP ST(1)
   FSTP MEMORY_REAL    52-106+EA        5             FSTP REAL_NUMBER
  --------------------------------------------------------------------------

        Note:          If ST is tagged as special (i.e. if it contains .,
                       a NAN, or a denormal), it is not rounded before
                       storage; the least significant bits are dropped.

See Also: FIST FST

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