aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/v850eq-elf/hello.s
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/v850eq-elf/hello.s')
-rw-r--r--sim/testsuite/v850eq-elf/hello.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/testsuite/v850eq-elf/hello.s b/sim/testsuite/v850eq-elf/hello.s
new file mode 100644
index 0000000..c7f84d6
--- /dev/null
+++ b/sim/testsuite/v850eq-elf/hello.s
@@ -0,0 +1,15 @@
+.include "t-macros.i"
+
+ start
+
+ mov 4, r6
+ mov 1, r7 # FID
+ load32 r8 hello # string
+ mov ehello - hello, r9 # size
+ trap 31
+
+ exit0
+
+ .data
+hello: .ascii "Hello World!\n"
+ehello: