Added helper for fpu instructions
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1014
This commit is contained in:
parent
e4249f1006
commit
999c5b36ec
1 changed files with 9 additions and 0 deletions
|
@ -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); \
|
||||
} \
|
||||
}
|
Loading…
Add table
Reference in a new issue