source:
trunk/libs/newlib/src/newlib/libc/sys/sysvi386/wait.S
@
690
Last change on this file since 690 was 444, checked in by , 6 years ago | |
---|---|
File size: 158 bytes |
Line | |
---|---|
1 | .globl _wait |
2 | .globl wait |
3 | _wait: |
4 | wait: |
5 | movl $0x7, %eax |
6 | lcall $7,$0 |
7 | jb _cerror |
8 | movl 4(%esp), %ecx |
9 | testl %ecx, %ecx |
10 | je bye |
11 | movl %edx, (%ecx) |
12 | bye: |
13 | ret |
Note: See TracBrowser
for help on using the repository browser.