shithub: pokered

Download patch

ref: 9dfef12c7f9be7253f1ae1e07124c1672cebdd42
parent: 8db5a6b694f5e76c6192ff8c4232468e8d855e21
author: Bryan Bishop <kanzure@gmail.com>
date: Wed Jan 18 08:02:06 EST 2012

calculate end address in text printer output

hg-commit-id: f7ac2a81cf15


--- a/extras/analyze_texts.py
+++ b/extras/analyze_texts.py
@@ -551,7 +551,7 @@
     include_newline = "\n"
     if output[-1] == "\n":
         include_newline = ""
-    output += include_newline + "; " + hex(start_address) + " + " + str(byte_count) + " bytes"
+    output += include_newline + "; " + hex(start_address) + " + " + str(byte_count) + " bytes = " + hex(start_address + byte_count)
     print output
     return (output, byte_count)