mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
fix TX_RAM injector for addresses between $a-$f inclusive
hg-commit-id: 82f2343a6d11
This commit is contained in:
parent
ffdd92db77
commit
b48dfcd123
|
@ -421,7 +421,7 @@ def text_pretty_printer_at(start_address, label="SomeLabel"):
|
||||||
p2 = command["pointer"][1]
|
p2 = command["pointer"][1]
|
||||||
|
|
||||||
#remember to account for big endian -> little endian
|
#remember to account for big endian -> little endian
|
||||||
output += "\n" + spacing + "TX_RAM $" + hex(p2)[2:] + hex(p1)[2:]
|
output += "\n" + spacing + "TX_RAM $%.2x%.2x" %(p2, p1)
|
||||||
byte_count += 3
|
byte_count += 3
|
||||||
had_db_last = False
|
had_db_last = False
|
||||||
elif command["type"] == 0x17: #TX_FAR
|
elif command["type"] == 0x17: #TX_FAR
|
||||||
|
|
Loading…
Reference in a new issue