ack/mach/i386/libsys/_fork.s
1990-01-22 11:01:47 +00:00

16 lines
174 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define __fork
.sect .text
__fork:
mov ax,2
callf 0x7:0x0
jb 1f
and dx,dx
jne 2f
ret
1:
jmp cerror
2:
xor ax,ax
ret