		.file	"startup.s"
	
		.section .stext,"ax"
		.extern _init
		.align	2
	
_start:
		.set	noreorder

		# Set Kernel mode
		li		$26, 0x1040040C
		mtc0	$26, $12
		li		$26, 0x00000000
		mtc0	$26, $13

		mfc0	$26, $15
		nop
		mtc0	$26, $31

		# jump init
		la $26, _init
		jr $26

		# set user mode
		rfe
	
		.set	reorder
