1
0
Fork 0

Added helper for fpu instructions

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1014
This commit is contained in:
Sjoerd van der Berg 2003-05-27 11:58:32 +00:00
parent e4249f1006
commit 999c5b36ec

View file

@ -131,3 +131,12 @@
#define EAXId(inst) \
{ inst(reg_eax,Fetchd(),LoadRd,SaveRd);}
#define FPU_ESC(code) { \
Bit8u rm=Fetchb(); \
if (rm>=0xc0) { \
FPU_ESC ## code ## _Normal(rm); \
} else { \
GetEAa;FPU_ESC ## code ## _EA(rm,eaa); \
} \
}