19 lines
145 B
ArmAsm
19 lines
145 B
ArmAsm
.extern _syscall
|
|
.global syscall
|
|
syscall:
|
|
sti
|
|
|
|
push %edx
|
|
push %ecx
|
|
push %ebx
|
|
push %eax
|
|
|
|
call _syscall
|
|
|
|
pop %eax
|
|
pop %ebx
|
|
pop %ecx
|
|
pop %edx
|
|
iret
|
|
|