home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 359_11 / patch5.000 / EMU387 / E53.CC < prev    next >
C/C++ Source or Header  |  1991-09-11  |  322b  |  23 lines

  1. #include "emu.h"
  2. #include "rmov.h"
  3.  
  4. void emu_53()
  5. {
  6.   if (modrm > 0277)
  7.   {
  8.     // fstp st(i)
  9.     r_mov(st(), st(modrm&7));
  10.     st().tag = TW_E;
  11.     top++;
  12.   }
  13.   else
  14.   {
  15.     // fstp m64real
  16.     if (empty())
  17.       return;
  18.     r_mov(st(), (double *)get_modrm());
  19.     st().tag = TW_E;
  20.     top++;
  21.   }
  22. }
  23.