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