print out offset for load address in hex
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 May 2021 13:35:44 +0000 (14:35 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 28 May 2021 13:35:44 +0000 (14:35 +0100)
src/openpower/decoder/isa/pypowersim.py

index 92a019ef8856a00504f8bd227c491b6303943e04..7f7c95e18f852d8af520e3f378a18e07c992a239 100644 (file)
@@ -311,7 +311,7 @@ def run_simulation():
             else:
                 fname, offs = arg
             offs = convert_to_num(offs)
-            log ("offs load", fname, offs)
+            log ("offs load", fname, hex(offs))
             mem = read_data(fname, offs)
             initial_mem.update(mem)
         elif opt in ['-d', '--dump']: