Retro68/gcc/newlib/libc/sys/sysvi386/fork.S
2012-03-27 01:51:53 +02:00

13 lines
132 B
ArmAsm

.globl _fork
.globl fork
_fork:
fork:
movl $2, %eax
lcall $7,$0
jb _cerror
testl %edx, %edx
je bye
xorl %eax,%eax
bye:
ret