V5/usr/source/s4/exit.s

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

/ C library -- exit

/ exit(code)
/ code is return in r0 to system

.globl	_exit

_exit:
	mov	r5,-(sp)
	mov	sp,r5
	mov	4(r5),r0
	sys	exit