diff options
author | Dave Brolley <brolley@redhat.com> | 1998-11-23 23:25:28 +0000 |
---|---|---|
committer | Dave Brolley <brolley@redhat.com> | 1998-11-23 23:25:28 +0000 |
commit | 7259fc949121c443887e098f29384f12da8b055a (patch) | |
tree | dae11b03ee927ec941988e4cc84357629007c840 /sim/testsuite/fr30-elf/hello.s | |
parent | 715e7aadec737d21cb034713210909063429ceb2 (diff) | |
download | gdb-7259fc949121c443887e098f29384f12da8b055a.zip gdb-7259fc949121c443887e098f29384f12da8b055a.tar.gz gdb-7259fc949121c443887e098f29384f12da8b055a.tar.bz2 |
Mon Nov 23 17:02:47 1998 Dave Brolley <brolley@cygnus.com>
* Directory created.
Diffstat (limited to 'sim/testsuite/fr30-elf/hello.s')
-rw-r--r-- | sim/testsuite/fr30-elf/hello.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sim/testsuite/fr30-elf/hello.s b/sim/testsuite/fr30-elf/hello.s new file mode 100644 index 0000000..58f6d51 --- /dev/null +++ b/sim/testsuite/fr30-elf/hello.s @@ -0,0 +1,16 @@ + .global _start +_start: + +; write (hello world) + ldi32 #14,r6 + ldi32 #0x2c,r5 ; #hello,r5 + ldi32 #1,r4 + ldi32 #5,r0 + int #10 +; exit (0) + ldi32 #0,r4 + ldi32 #1,r0 + int #10 + +length: .long 14 +hello: .ascii "Hello World!\r\n" |