mirror of
https://github.com/jtauber/applepy.git
synced 2024-11-27 07:51:10 +00:00
TSX updated NZ flags
This commit is contained in:
parent
294d9b027a
commit
687b2e345f
@ -428,7 +428,7 @@ class CPU:
|
|||||||
self.accumulator = self.update_nz(self.y_index)
|
self.accumulator = self.update_nz(self.y_index)
|
||||||
|
|
||||||
def TSX(self):
|
def TSX(self):
|
||||||
self.x_index = self.stack_pointer
|
self.x_index = self.update_nz(self.stack_pointer)
|
||||||
|
|
||||||
def TXS(self):
|
def TXS(self):
|
||||||
self.stack_pointer = self.x_index
|
self.stack_pointer = self.x_index
|
||||||
|
Loading…
Reference in New Issue
Block a user