home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / SYS / EMXINIT.S < prev    next >
Encoding:
Text File  |  1993-01-02  |  420 b   |  25 lines

  1. / sys/emxinit.s (emx+gcc) -- Copyright (c) 1992-1993 by Eberhard Mattes
  2.  
  3.         .globl  _emx_init
  4.         .globl  _emx_syscall
  5.         .globl  ___init_ret
  6.  
  7.         .data
  8.  
  9. L_ret:  .long   0
  10.  
  11.         .text
  12.  
  13. _emx_init:
  14.         popl    L_ret
  15.         popl    %eax
  16.         jmp     ___init
  17.  
  18.  
  19. ___init_ret:
  20.         movl    4(%esp), %esp
  21.         jmp     *L_ret
  22.  
  23. _emx_syscall:
  24.         jmp     _emx_syscall
  25.