From: Luke Kenneth Casson Leighton Date: Tue, 25 May 2021 10:29:16 +0000 (+0100) Subject: more notes on pypowersim X-Git-Tag: xlen-bcd~557 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b50f37b30fb9343d982a86438e747e7e191b6af7;p=openpower-isa.git more notes on pypowersim --- 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)