home *** CD-ROM | disk | FTP | other *** search
- / code1.s (emx+gcc) -- Copyright (c) 1992-1993 by Eberhard Mattes
-
- .globl _DosSetPriority
-
- _DosSetPriority:
- pushl %ebp
- movl %esp, %ebp
- pushl %ecx / dummy
- leal -4(%ebp), %ecx
- pushl %ecx
- call _DosEnterMustComplete
- addl $1*4, %esp
- pushl %fs:4 / stack base
- pushl %fs:8 / stack limit
- pushl 5*4(%ebp)
- pushl 4*4(%ebp)
- pushl 3*4(%ebp)
- pushl 2*4(%ebp)
- call _DosTrueSetPriority
- addl $4*4, %esp
- popl %fs:8 / stack limit
- popl %fs:4 / stack base
- pushl %eax
- leal -4(%ebp), %ecx
- pushl %ecx
- call _DosExitMustComplete
- addl $1*4, %esp
- popl %eax
- popl %ecx / dummy
- popl %ebp
- ret
-