From c101868549cfac99c5cedb3b4496f3e69bd572be Mon Sep 17 00:00:00 2001 From: James Tauber Date: Sun, 7 Aug 2011 00:39:17 -0400 Subject: [PATCH] fixed error in BVS --- applepy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applepy.py b/applepy.py index 6314f0d..0b5acff 100644 --- a/applepy.py +++ b/applepy.py @@ -520,7 +520,7 @@ class CPU: self.program_counter = operand_address def BVS(self, operand_address): - if not self.overflow_flag: + if self.overflow_flag: self.program_counter = operand_address # SET / CLEAR FLAGS