From cdc60519c30203ac8a3ad71ef75b54da9e3f256a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 28 May 2021 14:35:44 +0100 Subject: [PATCH] print out offset for load address in hex --- src/openpower/decoder/isa/pypowersim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index 92a019ef..7f7c95e1 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -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']: -- 2.30.2