aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/d30v-elf/ls-st4hb.S
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>1997-03-24 06:49:54 +0000
committerAndrew Cagney <cagney@redhat.com>1997-03-24 06:49:54 +0000
commit139d457d4e03a8ce380ed2f538bfa577e6b97774 (patch)
treeabdcd94aa233c8cf4e54ba259cf0cc30cf097054 /sim/testsuite/d30v-elf/ls-st4hb.S
parent2c268a8551a7ba041c4478fb8e31e8e56725baee (diff)
downloadgdb-139d457d4e03a8ce380ed2f538bfa577e6b97774.zip
gdb-139d457d4e03a8ce380ed2f538bfa577e6b97774.tar.gz
gdb-139d457d4e03a8ce380ed2f538bfa577e6b97774.tar.bz2
Growing number of tests for d30v
Diffstat (limited to 'sim/testsuite/d30v-elf/ls-st4hb.S')
-rw-r--r--sim/testsuite/d30v-elf/ls-st4hb.S13
1 files changed, 13 insertions, 0 deletions
diff --git a/sim/testsuite/d30v-elf/ls-st4hb.S b/sim/testsuite/d30v-elf/ls-st4hb.S
new file mode 100644
index 0000000..bf80225
--- /dev/null
+++ b/sim/testsuite/d30v-elf/ls-st4hb.S
@@ -0,0 +1,13 @@
+ add r2, r0, hello
+ add r4, r0, ('H' << 16) + ('e' << 0)
+ add r5, r0, ('l' << 16) + ('l' << 0)
+ st4hb r4, @(r2,0) || nop
+ # putstr
+ .long 0x0e000001, 0x00f00000
+ # finished
+ add r2, r0, r0 || nop
+ .long 0x0e000004, 0x00f00000
+
+ .align 3
+hello:
+ .ascii "????o World\n"