ack/mach/vax4/libbsd4_1a/getpid.s

17 lines
163 B
ArmAsm
Raw Normal View History

.globl _getpid
.globl _getppid
1986-12-12 12:49:50 +00:00
.set getpid,20
.align 1
_getpid:
.word 0x0000
chmk $getpid
ret
.align 1
_getppid:
.word 0x0000
chmk $getpid
movl r1,r0
ret