mirror of
https://github.com/jtauber/applepy.git
synced 2024-11-26 16:49:32 +00:00
added zero_page_y_mode
This commit is contained in:
parent
3344005fe7
commit
28fcca6bde
@ -330,6 +330,9 @@ class CPU:
|
||||
def zero_page_x_mode(self):
|
||||
return (self.zero_page_mode() + signed(self.x_index)) % 0x100
|
||||
|
||||
def zero_page_y_mode(self):
|
||||
return (self.zero_page_mode() + signed(self.y_index)) % 0x100
|
||||
|
||||
def indirect_mode(self):
|
||||
return self.memory.read_word(self.absolute_mode())
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user