V7M/src/libc/csu/fcrt0.s

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

/ C runtime startoff
/ with floating point interpreter

.globl	fptrap
.globl	_exit
.globl	_main
.globl	_environ
exit = 1.
signal = 48.

start:
	sys	signal; 4; fptrap
	setd
	mov	2(sp),r0
	clr	-2(r0)
	mov	sp,r0
	sub	$4,sp
	mov	4(sp),(sp)
	tst	(r0)+
	mov	r0,2(sp)
1:
	tst	(r0)+
	bne	1b
	cmp	r0,*2(sp)
	blo	1f
	tst	-(r0)
1:
	mov	r0,4(sp)
	mov	r0,_environ
	jsr	pc,_main
	cmp	(sp)+,(sp)+
	mov	r0,(sp)
	jsr	pc,*$_exit
	sys	exit
.bss
_environ:
	.=.+2
.data
	.=.+2