summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm510/sm500op.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sm510/sm500op.cpp')
-rw-r--r--src/devices/cpu/sm510/sm500op.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/cpu/sm510/sm500op.cpp b/src/devices/cpu/sm510/sm500op.cpp
index acb2864cec2..102537190ee 100644
--- a/src/devices/cpu/sm510/sm500op.cpp
+++ b/src/devices/cpu/sm510/sm500op.cpp
@@ -183,6 +183,12 @@ void sm500_device::op_exkfa()
// Divider manipulation instructions
+void sm500_device::op_idiv()
+{
+ // IDIV: reset divider low 9 bits
+ m_div &= 0x3f;
+}
+
// Bit manipulation instructions