source: branches/libc-0.6/testcase/gashello.s@ 2647

Last change on this file since 2647 was 1250, checked in by bird, 21 years ago

Initial coding.

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 372 bytes
Line 
1 .file "gashello.s"
2
3.text
4 .global _main
5_main:
6 push $string
7 /*call _puts */
8 call __std_puts
9 add $4, %esp
10 xorl %eax, %eax
11 ret
12
13
14.data
15 .long 0xba0bab /* Magic number (error detection) */
16 .long __os2dll /* list of OS/2 DLL references */
17
18 .stabs "__os2dll", 21, 0, 0, 0xffffffff
19
20string:
21 .asciz "hello gas world"
22
23
Note: See TracBrowser for help on using the repository browser.