home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Supreme Volume 6 #1
/
swsii.zip
/
swsii
/
201
/
DJGPP3.ZIP
/
EMU387
/
E74.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-22
|
484b
|
31 lines
#include "emu.h"
#include "rmov.h"
void fstsw_ax()
{
status_word &= ~SW_TOP;
status_word |= (top&7) * SW_TOPS;
eax &= 0xffff0000;
eax |= status_word;
}
FUNC emu_74_table[] = {
fstsw_ax, emu_bad, emu_bad, emu_bad, emu_bad, emu_bad, emu_bad, emu_bad
};
void emu_74()
{
if (modrm > 0277)
{
(emu_74_table[modrm&7])();
}
else
{
// fbld m80dec
if (full())
return;
top--;
r_mov((char *)get_modrm(), st());
}
}