12 lines
153 B
ArmAsm
12 lines
153 B
ArmAsm
|
.sect .text; .sect .rom; .sect .data; .sect .bss
|
||
|
.define _getppid
|
||
|
.sect .text
|
||
|
_getppid:
|
||
|
mov ax,20
|
||
|
callf 0x7:0x0
|
||
|
jb 1f
|
||
|
xchg dx,ax
|
||
|
ret
|
||
|
1:
|
||
|
jmp cerror
|