home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJEMU106.ZIP
/
EMU387
/
E11.CC
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-22
|
311b
|
24 lines
#include "emu.h"
#include "rmov.h"
void emu_11()
{
if (empty())
return;
if (modrm > 0277)
{
// fxch st(i)
int i = modrm & 7;
if (empty(i))
return;
reg t;
r_mov(st(), t);
r_mov(st(i), st());
r_mov(t, st(i));
}
else
{
emu_bad();
}
}