aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorChristopher Celio <celio@eecs.berkeley.edu>2015-07-21 12:45:17 -0700
committerChristopher Celio <celio@eecs.berkeley.edu>2015-07-21 12:45:17 -0700
commit092f378fb207d9378118c8b39c90f2b45833c862 (patch)
treee5a7a4f5813abf16b81d5c89d7f859533a1b3e21 /README.md
parenteb69084de3018380d0f1a5dcc09b86167bea90b2 (diff)
downloadspike-092f378fb207d9378118c8b39c90f2b45833c862.zip
spike-092f378fb207d9378118c8b39c90f2b45833c862.tar.gz
spike-092f378fb207d9378118c8b39c90f2b45833c862.tar.bz2
Update README.md for freg info
Diffstat (limited to 'README.md')
-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):