home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / LIBC / LIBC-4.6 / LIBC-4 / libc-linux / sbin / lib / i386 / crt / crt0.S next >
Encoding:
Text File  |  1993-05-07  |  167 b   |  14 lines

  1.     .text
  2. __entry:
  3.     movl 8(%esp),%eax
  4.     movl %eax,___environ
  5.     call _main
  6. /*
  7.  *    We use int $0x80 for __exit().
  8.  */
  9.     movl %eax,%ebx
  10. done:
  11.     movl $1,%eax
  12.     int $0x80
  13.     jmp done
  14.