summaryrefslogtreecommitdiff
path: root/romstr.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-06-20 21:13:24 -0500
committerBryan Bishop <kanzure@gmail.com>2012-06-20 21:13:24 -0500
commitf18eff8cdaf3d1b3d546a36750095913bcb82cfa (patch)
tree5dd4e3bc4cb5d08eb40b3d15dfdb11d47a5e5fd3 /romstr.py
parent82c79eccb6ca512a20f802d9c8414ae09c2dff8f (diff)
continue at relative jumps and fix formatting
original-commit-id: e471fbeb3217107e94acca38213f8f9ffed98665
Diffstat (limited to 'romstr.py')
-rw-r--r--romstr.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/romstr.py b/romstr.py
index 1e3fbb6..62c59e3 100644
--- a/romstr.py
+++ b/romstr.py
@@ -397,10 +397,6 @@ class DisAsm:
if number == 0x3d97:
used_3d97 = True
- if not self.has_outstanding_labels(asm_commands, offset):
- keep_reading = False
- break
-
# stop reading at a jump, relative jump or return
if current_byte in end_08_scripts_with:
is_data = False
@@ -455,7 +451,7 @@ class DisAsm:
if line["address"] == self.start_address:
output += "thing: ; " + hex(line["address"]) + "\n"
else:
- output += spacing + "." + line["current_label"] + "\@ ; " + hex(line["address"]) + "\n"
+ output += "." + line["current_label"] + "\@ ; " + hex(line["address"]) + "\n"
# show the actual line
if line.has_key("formatted_with_labels"):