Author Topic: FPU fstp  (Read 6501 times)

RuiLoureiro

  • Member
  • ****
  • Posts: 820
FPU fstp
« 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 ?

jj2007

  • Member
  • *****
  • Posts: 13957
  • Assembly is fun ;-)
    • MasmBasic
Re: FPU fstp
« Reply #1 on: June 16, 2012, 06:20:43 AM »
Both flags are set.

RuiLoureiro

  • Member
  • ****
  • Posts: 820
Re: FPU fstp
« Reply #2 on: June 16, 2012, 10:31:16 PM »
Both flags are set.

Jochen,
             Thanks !
             Did you test it or you see it in docs only ?
             Ok, i tested it
« Last Edit: June 17, 2012, 06:16:56 AM by RuiLoureiro »