home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJEMU106.ZIP
/
EMU387
/
E57.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-22
|
264b
|
19 lines
#include "emu.h"
#include "rmov.h"
void emu_57()
{
if (modrm > 0277)
{
//
emu_bad();
}
else
{
// fstsw m2byte
status_word &= ~SW_TOP;
status_word |= (top&7) * SW_TOPS;
*(short *)get_modrm() = status_word;
}
}