Added entry points for ANSI C

This commit is contained in:
ceriel
1990-01-22 13:41:58 +00:00
parent 8fd07efa80
commit bf95ea8fd9
28 changed files with 609 additions and 1 deletions

16
mach/ns/libsys/_getpid.s Normal file
View File

@@ -0,0 +1,16 @@
.define __getpid
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
.extern __getpid
.sect .text
__getpid:
enter[], 0
movd 20,tos
jsr @.mon
movd tos,r7
movd r7,r4
exit []
ret 0