From c250afa7a0a9fe003196aded1a0749ed440481a3 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Mon, 30 Sep 2024 18:50:22 -0400 Subject: update testing --- test/out/div | 15 +++++++++++++++ test/out/div.status | 1 + test/out/fault | 15 +++++++++++++++ test/out/fault.status | 1 + test/out/fncall | 0 test/out/fncall.status | 1 + test/out/hello | 1 + test/out/hello.status | 1 + 8 files changed, 35 insertions(+) create mode 100644 test/out/div create mode 100644 test/out/div.status create mode 100644 test/out/fault create mode 100644 test/out/fault.status create mode 100644 test/out/fncall create mode 100644 test/out/fncall.status create mode 100644 test/out/hello create mode 100644 test/out/hello.status (limited to 'test/out') 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 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 -- cgit v1.2.3-freya