summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2021-05-11 22:51:46 -0400
committer arbee <rb6502@users.noreply.github.com>2021-05-11 22:51:46 -0400
commit6a1045f5d2e39407286d39707591f7e6eea91224 (patch)
tree64eb96936990903961491551f10d0db700fa3e5d
parentde236b6eb0d3dc2e2e5105eae438a90c1e25138c (diff)
m68kfpu: support instructions with 80-bit FP immediate values. (GitHub issue #8049) [R. Belmont]
-rw-r--r--src/devices/cpu/m68000/m68kfpu.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/devices/cpu/m68000/m68kfpu.cpp b/src/devices/cpu/m68000/m68kfpu.cpp
index b15da8fe4bd..f1108bc54ab 100644
--- a/src/devices/cpu/m68000/m68kfpu.cpp
+++ b/src/devices/cpu/m68000/m68kfpu.cpp
@@ -722,6 +722,11 @@ floatx80 m68000_base_device::READ_EA_FPE(int ea)
}
break;
+ case 4: // #<data>
+ fpr = load_extended_float80(m_pc);
+ m_pc += 12;
+ break;
+
default:
fatalerror("M68kFPU: READ_EA_FPE: unhandled mode %d, reg %d, at %08X\n", mode, reg, m_pc);
break;