From 91325200b00caa1926a06498f3a104c436a3a27b Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 13 Dec 2018 13:18:43 -0500 Subject: [PATCH] x86: Step over the right instructions (and REP, not RET) (nw) --- src/devices/cpu/i386/i386dasm.cpp | 4 ++-- 1 file 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 },