aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/fr30-elf/exit47.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/fr30-elf/exit47.s')
-rw-r--r--sim/testsuite/fr30-elf/exit47.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/sim/testsuite/fr30-elf/exit47.s b/sim/testsuite/fr30-elf/exit47.s
new file mode 100644
index 0000000..0dc7c99
--- /dev/null
+++ b/sim/testsuite/fr30-elf/exit47.s
@@ -0,0 +1,7 @@
+ ;; Return with exit code 47.
+
+ .global _start
+_start:
+ ldi32 #47,r4
+ ldi32 #1,r0
+ int #10