From e95b8f1984449853b2c836d0142d1679728dc94a Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 11 Jan 2012 00:06:52 -0600 Subject: add end address to gbz80disasm output in a comment hg-commit-id: 1d79cd8b426a --- extras/gbz80disasm.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'extras/gbz80disasm.py') 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): -- cgit v1.2.3