summaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/em-pstr.S
diff options
context:
space:
mode:
Diffstat (limited to 'sim/testsuite/d30v-elf/em-pstr.S')
-rw-r--r--sim/testsuite/d30v-elf/em-pstr.S8
1 files changed, 8 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/em-pstr.S b/sim/testsuite/d30v-elf/em-pstr.S
new file mode 100644
index 00000000000..4612c35c8f1
--- /dev/null
+++ b/sim/testsuite/d30v-elf/em-pstr.S
@@ -0,0 +1,8 @@
+ add r2, r0, hello
+ # putstr
+ .long 0x0e000001, 0x00f00000
+ # finished
+ add r2, r0, r0 || nop
+ .long 0x0e000004, 0x00f00000
+
+hello: .ascii "Hello World\n"