summaryrefslogtreecommitdiff
path: root/z80.cpu
diff options
context:
space:
mode:
Diffstat (limited to 'z80.cpu')
-rw-r--r--z80.cpu2
1 files changed, 1 insertions, 1 deletions
diff --git a/z80.cpu b/z80.cpu
index 4742e4a..e31be38 100644
--- a/z80.cpu
+++ b/z80.cpu
@@ -1191,7 +1191,7 @@ dd 10111100 cp_ixh
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