19 lines
185 B
ArmAsm
19 lines
185 B
ArmAsm
|
.define __fork
|
||
|
.sect .text
|
||
|
.sect .rom
|
||
|
.sect .data
|
||
|
.sect .bss
|
||
|
.sect .text
|
||
|
.extern __fork
|
||
|
__fork: trap #0
|
||
|
.data2 0x2
|
||
|
bra 1f
|
||
|
bcs 2f
|
||
|
rts
|
||
|
2:
|
||
|
jmp cerror
|
||
|
1:
|
||
|
bcs 2b
|
||
|
clr.l d0
|
||
|
rts
|