aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/cris/crt.s
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/cris/crt.s')
-rw-r--r--tests/tcg/cris/crt.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/tcg/cris/crt.s b/tests/tcg/cris/crt.s
new file mode 100644
index 0000000000..af027d7475
--- /dev/null
+++ b/tests/tcg/cris/crt.s
@@ -0,0 +1,13 @@
+ .data
+_stack_start:
+ .space 8192, 0
+_stack_end:
+ .text
+ .global _start
+_start:
+ move.d _stack_end, $sp
+ jsr main
+ nop
+ moveq 0, $r10
+ jump exit
+ nop