home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
PROGRAM
/
DJLIB106.ZIP
/
LIB
/
CRT0.S
< prev
next >
Wrap
Text File
|
1992-03-28
|
380b
|
35 lines
/*
** Called as start(argc, argv, envp)
*/
.text
.globl start
start:
movl %esp,%ebx
movl 8(%ebx),%eax
pushl %eax
movl %eax,_environ
pushl 4(%ebx)
pushl (%ebx)
call ___main
call _main
addl $12,%esp
pushl %eax
call _exit
exit_again:
movl $0x4c00,%eax
int $0x21
jmp exit_again
ret
.data
.globl _environ
_environ:
.long 0