From b50f37b30fb9343d982a86438e747e7e191b6af7 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 25 May 2021 11:29:16 +0100 Subject: [PATCH] more notes on pypowersim --- src/openpower/decoder/isa/pypowersim.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index e61e7d7f..7bb61f96 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -161,7 +161,14 @@ def help(): print ("-l --load= filename:address to load binary into memory") print ("-d --dump= filename:address:len to binary save from memory") print ("-h --help prints this message") + print ("notes:") print ("load and dump may be given multiple times") + print ("load and dump must be 8-byte aligned sizes") + print ("loading SPRs accepts SPR names (e.g. LR, CTR, SRR0)") + print ("numbers may be integer, binary (0bNNN) or hex (0xMMM) but not FP") + print ("running ELF binaries: load SPRs, LR set to 0xffffffffffffffff") + print ("TODO: dump registers") + print ("TODO: load/dump PC, MSR, CR") exit(-1) -- 2.30.2