shithub: riscv

ref: e4509d40cc9759baddf1c2571247b95d2f5b61a5
dir: /sys/src/ape/lib/ap/mips/main9.s/

View raw version
GLOBL	_tos(SB), $4

TEXT	_main(SB), 1, $0
	ADD	$-8, R29
	MOVW	$setR30(SB), R30
	MOVW	R1, _tos(SB)

	MOVW	$_apemain(SB), R1
	MOVW	$0, R31
	JMP	_callmain(SB)