fix TX_RAM injector for addresses between $a-$f inclusive

hg-commit-id: 82f2343a6d11
This commit is contained in:
Bryan Bishop 2012-01-17 16:16:27 -06:00
parent ffdd92db77
commit b48dfcd123

View file

@ -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