From f3102ed792b05b11d38b83d9a00731ea077bd3d7 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Sun, 24 Jul 2016 17:17:59 -0700 Subject: Implement Z80 DAA. Implement half-carry flag for the rest of the "easy" cases. Implement flags for IN instruction. Fix implementation of IN for IN F, (C) case --- ztestgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ztestgen.c') diff --git a/ztestgen.c b/ztestgen.c index bbdc22b..77657bd 100644 --- a/ztestgen.c +++ b/ztestgen.c @@ -465,7 +465,7 @@ void z80_gen_test(z80inst * inst, uint8_t *instbuf, uint8_t instlen) uint8_t should_skip(z80inst * inst) { return inst->op >= Z80_DJNZ || (inst->op >= Z80_LDI && inst->op <= Z80_CPDR) || inst->op == Z80_HALT - || inst->op == Z80_DAA || inst->op == Z80_RLD || inst->op == Z80_RRD || inst->op == Z80_NOP + || inst->op == Z80_RLD || inst->op == Z80_RRD || inst->op == Z80_NOP || inst->op == Z80_DI || inst->op == Z80_EI; } -- cgit v1.2.3