ack/mach/pmds4/libsys/fork.s

14 lines
124 B
ArmAsm
Raw Normal View History

1985-02-07 22:59:50 +00:00
.define _fork
.extern _fork
_fork: trap #0
.short 0x2
bra 1f
1985-03-04 16:11:56 +00:00
bcs 2f
rts
1985-02-07 22:59:50 +00:00
2:
1985-03-04 16:11:56 +00:00
jmp cerror
1985-02-07 22:59:50 +00:00
1:
1985-03-04 16:11:56 +00:00
bcs 2b
clr.l d0
1985-02-07 22:59:50 +00:00
rts