calculate end address in text printer output

hg-commit-id: f7ac2a81cf15
This commit is contained in:
Bryan Bishop 2012-01-18 13:02:06 -06:00
parent 8db5a6b694
commit 9dfef12c7f

View file

@ -551,7 +551,7 @@ def text_pretty_printer_at(start_address, label="SomeLabel"):
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)