shithub: pokered

Download patch

ref: e95b8f1984449853b2c836d0142d1679728dc94a
parent: e4bce7ed15934f991cfc0b2cce0a33bbfd714b6e
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Jan 10 19:06:52 EST 2012

add end address to gbz80disasm output in a comment

hg-commit-id: 1d79cd8b426a


--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -755,6 +755,9 @@
         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):