summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-12-13 13:18:43 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-12-13 13:18:50 -0500
commit91325200b00caa1926a06498f3a104c436a3a27b (patch)
treec8e7e8503cfacc054cf64d8891987ad2ab31fa73
parentaf3f7647f40b19c6198ebe29281f8113774777fa (diff)
x86: Step over the right instructions (and REP, not RET) (nw)
-rw-r--r--src/devices/cpu/i386/i386dasm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/i386/i386dasm.cpp b/src/devices/cpu/i386/i386dasm.cpp
index 02df10a6e5a..374f2a24a41 100644
--- a/src/devices/cpu/i386/i386dasm.cpp
+++ b/src/devices/cpu/i386/i386dasm.cpp
@@ -269,9 +269,9 @@ const i386_disassembler::I386_OPCODE i386_disassembler::i386_opcode_table1[256]
// 0xf0
{"lock", 0, 0, 0, 0 },
{"???", 0, 0, 0, 0 },
- {"repne", PREFIX, 0, 0, 0 },
+ {"repne", PREFIX, 0, 0, 0, STEP_OVER},
{"rep", PREFIX, 0, 0, 0, STEP_OVER},
- {"hlt", 0, 0, 0, 0, STEP_OVER},
+ {"hlt", 0, 0, 0, 0 },
{"cmc", 0, 0, 0, 0 },
{"groupF6", GROUP, 0, 0, 0 },
{"groupF7", GROUP, 0, 0, 0 },