changeset 1743:a1663a83dcab

Fixed cp ixh in new Z80 core
author Michael Pavone <pavone@retrodev.com>
date Tue, 05 Feb 2019 19:29:30 -0800
parents 6290c88949bd
children 91aa789e57bd
files z80.cpu
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/z80.cpu	Mon Feb 04 23:46:35 2019 -0800
+++ b/z80.cpu	Tue Feb 05 19:29:30 2019 -0800
@@ -1191,7 +1191,7 @@
 	local tmp 8
 	lsr ix 8 tmp
 	mov tmp last_flag_result
-	cmp last_flag_result a
+	cmp tmp a
 	update_flags SZHVN1C
 	
 dd 10111101 cp_ixl