ack/mach/i386/libsys/_fork.s

16 lines
174 B
ArmAsm
Raw Normal View History

1990-01-22 11:01:47 +00:00
.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