turns out PLA DOES affect NZ after all

This commit is contained in:
James Tauber 2011-08-06 23:36:04 -04:00
parent b413e9ac64
commit 6e709fcc4c

View File

@ -568,7 +568,7 @@ class CPU:
self.push_byte(self.status_as_byte())
def PLA(self):
self.accumulator = self.pull_byte() # @@@ doesn't effect NZ?
self.accumulator = self.update_nz(self.pull_byte())
def PLP(self):
self.status_from_byte(self.pull_byte())