mirror of
https://github.com/jtauber/applepy.git
synced 2024-12-29 15:29:16 +00:00
consistent whitespace
This commit is contained in:
parent
772cdad470
commit
4177ae0b25
@ -280,7 +280,6 @@ class Disassemble:
|
||||
self.ops[0xFD] = ("SBC", self.absolute_x_mode)
|
||||
self.ops[0xFE] = ("INC", self.absolute_x_mode)
|
||||
|
||||
|
||||
def absolute_mode(self, pc):
|
||||
a = self.memory.read_word(pc + 1)
|
||||
return "$%04X [%04X] = %02X" % (a, a, self.memory.read_word(a))
|
||||
@ -329,7 +328,6 @@ class Disassemble:
|
||||
a = (z + self.cpu.y_index) % 0x100
|
||||
return "$%02X,Y [%04X] = %02X" % (z, a, self.memory.read_byte(a))
|
||||
|
||||
|
||||
def disasm(self, pc):
|
||||
op = self.memory.read_byte(pc)
|
||||
info = self.ops[op]
|
||||
|
Loading…
Reference in New Issue
Block a user