ack/mach/m68k4/libsys/fork.s

18 lines
192 B
ArmAsm
Raw Normal View History

1984-12-14 15:52:15 +00:00
.define _fork
.extern _fork
1986-07-22 13:23:14 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1984-12-14 15:52:15 +00:00
_fork: move.w #0x2,d0
trap #0
bra 1f
bcc 2f
jmp cerror
1:
!move.l d0,p_uid
clr.l d0
2:
rts