diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-01-11 00:06:52 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-01-11 00:06:52 -0600 |
commit | e95b8f1984449853b2c836d0142d1679728dc94a (patch) | |
tree | a562dc1abf25793909adf77269df4d04eb4a7847 /extras/gbz80disasm.py | |
parent | e4bce7ed15934f991cfc0b2cce0a33bbfd714b6e (diff) |
add end address to gbz80disasm output in a comment
hg-commit-id: 1d79cd8b426a
Diffstat (limited to 'extras/gbz80disasm.py')
-rw-r--r-- | extras/gbz80disasm.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py index 1f9f7c6c..555013c3 100644 --- a/extras/gbz80disasm.py +++ b/extras/gbz80disasm.py @@ -755,6 +755,9 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000): if label_line["usage"] == 0: output = output.replace((label_line["name"] + " ; " + hex(address) + "\n").lower(), "") + #add the offset of the final location + output += "; " + hex(offset) + return (output, offset) def has_outstanding_labels(byte_labels): |