Do more state formatting

Registers can now be displayed above the memory content.
This commit is contained in:
Joscha 2019-11-19 16:50:37 +00:00
parent ee7639c1c7
commit a7ef16bc4e
5 changed files with 75 additions and 143 deletions

View file

@ -36,10 +36,12 @@ formatConfigParser :: Parser FormatConfig
formatConfigParser = FormatConfig
<$> hiddenSwitchWithNo "sparse" True
"Omit uninteresting addresses"
<*> hiddenSwitchWithNo "registers" True
"Show the contents of registers before the memory dump"
<*> hiddenSwitchWithNo "memory-flags" False
"For each address, show all registers currently pointing to that address"
<*> hiddenSwitchWithNo "register-flags" True
"For each address, show all the memory flags that are active for that address"
<*> hiddenSwitchWithNo "memory-flags" True
"For each address, show all registers currently pointing to that address"
<*> hiddenSwitchWithNo "address-dec" True
"Display addresses in decimal"
<*> hiddenSwitchWithNo "address-hex" True