mirror of
https://github.com/jtauber/applepy.git
synced 2025-01-16 13:31:22 +00:00
turns out PLA DOES affect NZ after all
This commit is contained in:
parent
b413e9ac64
commit
6e709fcc4c
@ -568,7 +568,7 @@ class CPU:
|
|||||||
self.push_byte(self.status_as_byte())
|
self.push_byte(self.status_as_byte())
|
||||||
|
|
||||||
def PLA(self):
|
def PLA(self):
|
||||||
self.accumulator = self.pull_byte() # @@@ doesn't effect NZ?
|
self.accumulator = self.update_nz(self.pull_byte())
|
||||||
|
|
||||||
def PLP(self):
|
def PLP(self):
|
||||||
self.status_from_byte(self.pull_byte())
|
self.status_from_byte(self.pull_byte())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user