aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/testsuite/d10v-elf/exit47.s8
-rw-r--r--sim/testsuite/d10v-elf/loop.s6
2 files changed, 14 insertions, 0 deletions
diff --git a/sim/testsuite/d10v-elf/exit47.s b/sim/testsuite/d10v-elf/exit47.s
new file mode 100644
index 0000000..e37682f
--- /dev/null
+++ b/sim/testsuite/d10v-elf/exit47.s
@@ -0,0 +1,8 @@
+ .text
+ .align 2
+ .globl _start
+_start:
+ # exit (47)
+ ldi r6, 1
+ ldi r2, 47
+ trap 15
diff --git a/sim/testsuite/d10v-elf/loop.s b/sim/testsuite/d10v-elf/loop.s
new file mode 100644
index 0000000..e1371e4
--- /dev/null
+++ b/sim/testsuite/d10v-elf/loop.s
@@ -0,0 +1,6 @@
+ .text
+ .globl _start
+
+_start:
+ bra _start
+ nop