ack/mach/vax4/libbsd4_1a/getpid.s

19 lines
225 B
ArmAsm
Raw Permalink Normal View History

1990-01-11 16:00:19 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define _getpid
.define _getppid
getpid = 20
1986-12-12 12:49:50 +00:00
.align 1
_getpid:
1990-01-11 16:00:19 +00:00
.data2 0x0000
1986-12-12 12:49:50 +00:00
chmk $getpid
ret
.align 1
_getppid:
1990-01-11 16:00:19 +00:00
.data2 0x0000
1986-12-12 12:49:50 +00:00
chmk $getpid
movl r1,r0
ret