ack/mach/vax4/libbsd4_1a/_getpid.s

19 lines
229 B
ArmAsm
Raw Permalink Normal View History

1990-01-19 16:03:46 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define __getpid
.define __getppid
getpid = 20
.align 1
__getpid:
.data2 0x0000
chmk $getpid
ret
.align 1
__getppid:
.data2 0x0000
chmk $getpid
movl r1,r0
ret