AUSAM/source/libc/crt0.s

Compare this file to the similar file:
Show the results in this format:

/ C runtime startoff

.globl	savr5
.globl	_exit
.globl	start
.globl	_main

start:
	setd
	mov	sp,r0
	mov	(r0),-(sp)
	tst	(r0)+
	mov	r0,2(sp)
	jsr	pc,_main
	cmp	(sp)+,(sp)+
	mov	r0,(sp)
	jsr	pc,*$_exit
	sys	exit

.bss
savr5:	.=.+2
.data
	.=.+2		/ loc 0 for I/D; null ptr points here.