The MASM Forum

General => The Campus => Topic started by: RuiLoureiro on June 16, 2012, 04:26:15 AM

Title: FPU fstp
Post by: RuiLoureiro on June 16, 2012, 04:26:15 AM
I have one doubt

case A:
What happen here ?

        finit
        fstp    st

fstp st causes Stack Fault only ?
doesnt it give Invalid operation ?

case B:
What happen here ?

        finit
        fld     realX ptr _X
        fstp    realX ptr _Y
        ;
        fstp    st

fstp st causes Stack Fault only ?
doesnt it give Invalid operation ?

Where is raymond ?
Title: Re: FPU fstp
Post by: jj2007 on June 16, 2012, 06:20:43 AM
Both flags are set.
Title: Re: FPU fstp
Post by: RuiLoureiro on June 16, 2012, 10:31:16 PM
Quote from: jj2007 on June 16, 2012, 06:20:43 AM
Both flags are set.

Jochen,
             Thanks !
             Did you test it or you see it in docs only ?
             Ok, i tested it