diff ztestgen.c @ 1042:a6c6b621d0dc

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
author Michael Pavone <pavone@retrodev.com>
date Sun, 24 Jul 2016 17:17:59 -0700
parents 3072fb746601
children cd6f4cea97b6
line wrap: on
line diff
--- a/ztestgen.c	Sat Jul 23 16:00:18 2016 -0700
+++ b/ztestgen.c	Sun Jul 24 17:17:59 2016 -0700
@@ -465,7 +465,7 @@
 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;
 }