mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
302 B
20 lines
302 B
.global __syscall
|
|
.type __syscall,@function
|
|
__syscall:
|
|
pushl %ebx
|
|
pushl %esi
|
|
pushl %edi
|
|
pushl %ebp
|
|
movl 20(%esp),%eax
|
|
movl 24(%esp),%ebx
|
|
movl 28(%esp),%ecx
|
|
movl 32(%esp),%edx
|
|
movl 36(%esp),%esi
|
|
movl 40(%esp),%edi
|
|
movl 44(%esp),%ebp
|
|
int $128
|
|
popl %ebp
|
|
popl %edi
|
|
popl %esi
|
|
popl %ebx
|
|
ret
|
|
|