ack/mach/vax4/libbsd4_1a/getpid.s

16 lines
157 B
ArmAsm
Raw Normal View History

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