Research V2 release
[unix-history] / lib / crt0.s
CommitLineData
06e14a00
DR
1/ C runtime startoff
2
3.globl retrn
4
5.globl _main
6
7start:
8 mov $mq,r4
9 mov sp,r0
10 mov (r0),-(sp)
11 tst (r0)+
12 mov r0,2(sp)
13 jsr pc,*_main
14 clr r0
15 sys exit
16
17retrn:
18 mov r5,sp
19 mov (sp)+,r5
20 rts pc
21