summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i386/i386dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i386/i386dasm.cpp')
-rw-r--r--src/devices/cpu/i386/i386dasm.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/devices/cpu/i386/i386dasm.cpp b/src/devices/cpu/i386/i386dasm.cpp
index e201c4c02a4..02df10a6e5a 100644
--- a/src/devices/cpu/i386/i386dasm.cpp
+++ b/src/devices/cpu/i386/i386dasm.cpp
@@ -270,8 +270,8 @@ const i386_disassembler::I386_OPCODE i386_disassembler::i386_opcode_table1[256]
{"lock", 0, 0, 0, 0 },
{"???", 0, 0, 0, 0 },
{"repne", PREFIX, 0, 0, 0 },
- {"rep", PREFIX, 0, 0, 0 },
- {"hlt", 0, 0, 0, 0 },
+ {"rep", PREFIX, 0, 0, 0, STEP_OVER},
+ {"hlt", 0, 0, 0, 0, STEP_OVER},
{"cmc", 0, 0, 0, 0 },
{"groupF6", GROUP, 0, 0, 0 },
{"groupF7", GROUP, 0, 0, 0 },
@@ -2842,6 +2842,7 @@ void i386_disassembler::decode_opcode(std::ostream &stream, const I386_OPCODE *o
if ((op2 == 0x90) && !pre0f)
pre0f = op1;
decode_opcode(stream, &i386_opcode_table1[op2], op2, base_pc, pc, opcodes);
+ dasm_flags |= op->dasm_flags;
return;
case GROUP: