home *** CD-ROM | disk | FTP | other *** search
- #include "emu.h"
- #include "rmov.h"
-
- void emu_67()
- {
- if (empty())
- return;
- if (modrm > 0277)
- {
- // fdivp st(i),st
- reg t;
- int i = modrm & 7;
- if (empty(i))
- return;
- r_div(st(i), st(), t);
- r_mov(t, st(i));
- st().tag = TW_E;
- top++;
- }
- else
- {
- // fidiv m16int
- reg t, t2;
- r_mov((short *)get_modrm(), t);
- r_div(t, st(), t2);
- r_mov(t2, st());
- }
- }
-