_getpid X
1: / getpid -- get process ID 2: 3: getpid = 20. 4: 5: .globl _getpid 6: 7: _getpid: 8: mov r5,-(sp) 9: mov sp,r5 10: sys getpid 11: mov (sp)+,r5 12: rts pc