home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJEMU106.ZIP
/
EMU387
/
E41.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-26
|
402b
|
27 lines
#include "emu.h"
#include "rmov.h"
void emu_41()
{
if (empty())
return;
if (modrm > 0277)
{
// fmul st(i),st
int i = modrm & 7;
if (empty(i))
return;
reg t;
r_mul(st(i), st(), t);
r_mov(t, st(i));
}
else
{
// fmul m64real
reg t, t2;
r_mov((double *)get_modrm(), t);
r_mul(st(), t, t2);
r_mov(t2, st());
}
}