summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--z80_to_x86.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/z80_to_x86.c b/z80_to_x86.c
index 46e75de..fe81e39 100644
--- a/z80_to_x86.c
+++ b/z80_to_x86.c
@@ -817,6 +817,7 @@ uint8_t * translate_z80inst(z80inst * inst, uint8_t * dst, z80_context * context
}
dst = z80_save_reg(dst, inst, opts);
dst = z80_save_ea(dst, inst, opts);
+ dst = z80_save_result(dst, inst);
break;
case Z80_DEC:
cycles = 4;
@@ -842,6 +843,7 @@ uint8_t * translate_z80inst(z80inst * inst, uint8_t * dst, z80_context * context
}
dst = z80_save_reg(dst, inst, opts);
dst = z80_save_ea(dst, inst, opts);
+ dst = z80_save_result(dst, inst);
break;
//case Z80_DAA:
case Z80_CPL: