almost complete new disassembler version

This commit is contained in:
Bryan Bishop
2012-06-07 01:07:48 -05:00
parent 0768fead4f
commit 7dd0c86a6b
2 changed files with 169 additions and 11 deletions

View File

@ -559,7 +559,6 @@ def load_labels(filename="labels.json"):
all_labels = json.loads(open(filename, "r").read())
else:
print "You must run analyze_incbins.scan_for_predefined_labels() to create \"labels.json\"."
load_labels()
def find_label(local_address, bank_id=0):
return None
@ -827,5 +826,6 @@ def all_outstanding_labels_are_reverse(byte_labels, offset):
return True
if __name__ == "__main__":
load_labels()
load_rom()
print output_bank_opcodes(int(sys.argv[1], 16))[0]