summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/m68000
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2014-04-13 10:18:57 +0000
committer Olivier Galibert <galibert@pobox.com>2014-04-13 10:18:57 +0000
commit09505b873389d1287ab9d35116a9f335837e6690 (patch)
tree6118a8e9d8d1e11eac2d09c5094d634083d3a069 /src/emu/cpu/m68000
parentcbdece380ab0d558eac014102db0ff4f61bb72a8 (diff)
m68k: Add one fpu case (nw)
Diffstat (limited to 'src/emu/cpu/m68000')
-rw-r--r--src/emu/cpu/m68000/m68kfpu.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/cpu/m68000/m68kfpu.inc b/src/emu/cpu/m68000/m68kfpu.inc
index 19041927aac..2e99fa010ac 100644
--- a/src/emu/cpu/m68000/m68kfpu.inc
+++ b/src/emu/cpu/m68000/m68kfpu.inc
@@ -716,6 +716,15 @@ static floatx80 READ_EA_FPE(m68000_base_device *m68k, int ea)
{
switch (reg)
{
+ case 1: // (xxx)
+ {
+ UINT32 d1 = OPER_I_16(m68k);
+ UINT32 d2 = OPER_I_16(m68k);
+ UINT32 ea = (d1 << 16) | d2;
+ fpr = load_extended_float80(m68k, ea);
+ }
+ break;
+
case 2: // (d16, PC)
{
UINT32 ea = EA_PCDI_32(m68k);