summaryrefslogtreecommitdiff
path: root/test/out
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-30 18:50:22 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-30 18:50:22 -0400
commitc250afa7a0a9fe003196aded1a0749ed440481a3 (patch)
tree25fde1682fbc50055d70869802a2822c404749a7 /test/out
parentupdate tests (diff)
downloadmips-c250afa7a0a9fe003196aded1a0749ed440481a3.tar.gz
mips-c250afa7a0a9fe003196aded1a0749ed440481a3.tar.bz2
mips-c250afa7a0a9fe003196aded1a0749ed440481a3.zip
update testing
Diffstat (limited to 'test/out')
-rw-r--r--test/out/div15
-rw-r--r--test/out/div.status1
-rw-r--r--test/out/fault15
-rw-r--r--test/out/fault.status1
-rw-r--r--test/out/fncall0
-rw-r--r--test/out/fncall.status1
-rw-r--r--test/out/hello1
-rw-r--r--test/out/hello.status1
8 files changed, 35 insertions, 0 deletions
diff --git a/test/out/div b/test/out/div
new file mode 100644
index 0000000..94b9ab8
--- /dev/null
+++ b/test/out/div
@@ -0,0 +1,15 @@
+
+ !!! An exception has occurred !!!
+
+error: floating point exception
+pc: 0x00400004
+ins: 0x0108409a
+registers:
+$zero: 0x00000000 $t0: 0x00000000 $s0: 0x00000000 $t8: 0x00000000
+$at: 0x00000000 $t1: 0x00000000 $s1: 0x00000000 $t9: 0x00000000
+$v0: 0x00000000 $t2: 0x00000000 $s2: 0x00000000 $k0: 0x00000000
+$v1: 0x00000000 $t3: 0x00000000 $s3: 0x00000000 $k1: 0x00000000
+$a0: 0x00000000 $t4: 0x00000000 $s4: 0x00000000 $gp: 0x00000000
+$a1: 0x00000000 $t5: 0x00000000 $s5: 0x00000000 $sp: 0x10001000
+$a2: 0x00000000 $t6: 0x00000000 $s6: 0x00000000 $fp: 0x00000000
+$a3: 0x00000000 $t7: 0x00000000 $s7: 0x00000000 $ra: 0x0040001c
diff --git a/test/out/div.status b/test/out/div.status
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/test/out/div.status
@@ -0,0 +1 @@
+1
diff --git a/test/out/fault b/test/out/fault
new file mode 100644
index 0000000..938bb46
--- /dev/null
+++ b/test/out/fault
@@ -0,0 +1,15 @@
+
+ !!! An exception has occurred !!!
+
+error: page fault at (nil): address not mapped to object
+pc: 0x00400000
+ins: 0x8c080000
+registers:
+$zero: 0x00000000 $t0: 0x00000000 $s0: 0x00000000 $t8: 0x00000000
+$at: 0x00000000 $t1: 0x00000000 $s1: 0x00000000 $t9: 0x00000000
+$v0: 0x00000000 $t2: 0x00000000 $s2: 0x00000000 $k0: 0x00000000
+$v1: 0x00000000 $t3: 0x00000000 $s3: 0x00000000 $k1: 0x00000000
+$a0: 0x00000000 $t4: 0x00000000 $s4: 0x00000000 $gp: 0x00000000
+$a1: 0x00000000 $t5: 0x00000000 $s5: 0x00000000 $sp: 0x10001000
+$a2: 0x00000000 $t6: 0x00000000 $s6: 0x00000000 $fp: 0x00000000
+$a3: 0x00000000 $t7: 0x00000000 $s7: 0x00000000 $ra: 0x00400018
diff --git a/test/out/fault.status b/test/out/fault.status
new file mode 100644
index 0000000..d00491f
--- /dev/null
+++ b/test/out/fault.status
@@ -0,0 +1 @@
+1
diff --git a/test/out/fncall b/test/out/fncall
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/out/fncall
diff --git a/test/out/fncall.status b/test/out/fncall.status
new file mode 100644
index 0000000..98d9bcb
--- /dev/null
+++ b/test/out/fncall.status
@@ -0,0 +1 @@
+17
diff --git a/test/out/hello b/test/out/hello
new file mode 100644
index 0000000..af5626b
--- /dev/null
+++ b/test/out/hello
@@ -0,0 +1 @@
+Hello, world!
diff --git a/test/out/hello.status b/test/out/hello.status
new file mode 100644
index 0000000..573541a
--- /dev/null
+++ b/test/out/hello.status
@@ -0,0 +1 @@
+0