mirror of
https://github.com/pret/pokeyellow.git
synced 2026-09-27 05:34:56 -04:00
calculate end address in text printer output
hg-commit-id: f7ac2a81cf15
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user