summaryrefslogtreecommitdiff
path: root/ztestgen.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-07-24 17:17:59 -0700
committerMichael Pavone <pavone@retrodev.com>2016-07-24 17:17:59 -0700
commitf3102ed792b05b11d38b83d9a00731ea077bd3d7 (patch)
treee11fec03094006368bb65faeed8d432c21fce048 /ztestgen.c
parentaa1211b633a903aae93c89e57cba382fdb847ad8 (diff)
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
Diffstat (limited to 'ztestgen.c')
-rw-r--r--ztestgen.c2
1 files changed, 1 insertions, 1 deletions
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;
}