Retro68/gcc/newlib/libc/sys/sysvi386/pipe.S
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

13 lines
164 B
ArmAsm

.globl _pipe
.globl pipe
_pipe:
pipe:
movl $0x2a, %eax
lcall $7,$0
jb _cerror
movl 4(%esp), %ecx
movl (%ecx), %eax
movl 4(%ecx), %edx
xor %eax, %eax
ret