libc/newlib/libc/sys/sysvi386/wait.S

14 lines
158 B
ArmAsm
Raw Normal View History

2000-02-17 20:39:52 +01:00
.globl _wait
.globl wait
_wait:
wait:
movl $0x7, %eax
lcall $7,$0
jb _cerror
movl 4(%esp), %ecx
testl %ecx, %ecx
je bye
movl %edx, (%ecx)
bye:
ret