ack/mach/m68020/libsys/_fork.s

18 lines
211 B
ArmAsm
Raw Normal View History

1990-01-22 08:51:54 +00:00
.define __fork
.extern __fork
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
__fork: move.l #0x2,d0
trap #0
bcc 1f ! 68020 way to do it
jmp (cerror)
1:
tst.b d1
beq 2f
clr.l d0
2:
rts