SHARE
TWEET

Untitled

a guest May 20th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int f(double a, double b, double c, double &x1, double &x2)
  2. {
  3.     _asm
  4.     {
  5.         fld b;
  6.         fmul st, st;
  7.         fld a;
  8.         fadd st, st;
  9.         fld st;
  10.         fmul c;
  11.         fadd st, st;
  12.         fsubp st(2), st;
  13.         fxch;
  14.         fldz;
  15.         fcomip st, st(1);
  16.         fabs;
  17.         fsqrt;
  18.         fdiv st, st(1);
  19.         fxch st, st(2);
  20.         fdivr;
  21.         fchs;
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top