mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
calculate end address in text printer output
hg-commit-id: f7ac2a81cf15
This commit is contained in:
parent
8db5a6b694
commit
9dfef12c7f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue