aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/README.md b/README.md
index eabd355..ce078b3 100644
--- a/README.md
+++ b/README.md
@@ -64,9 +64,19 @@ To invoke interactive debug mode, launch spike with -d:
$ spike -d pk hello
-To see the contents of a register (0 is for core 0):
+To see the contents of an integer register (0 is for core 0):
: reg 0 a0
+
+To see the contents of a floating point register:
+
+ : fregs 0 ft0
+
+or:
+
+ : fregd 0 ft0
+
+depending upon whether you wish to print the register as single- or double-precision.
To see the contents of a memory location (physical address in hex):