12 lines
164 B
ArmAsm
12 lines
164 B
ArmAsm
|
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
|
||
|
.define _fork
|
||
|
.extern _fork, cerror
|
||
|
_fork: int 0x82
|
||
|
jmp 1f
|
||
|
jae 2f
|
||
|
jmp cerror
|
||
|
1:
|
||
|
xor ax,ax
|
||
|
2:
|
||
|
ret
|