shithub: riscv

ref: 6c5e9f73197f0e6bfc59119541312a1d281133b2
dir: /sys/src/libc/power64/main9.s/

View raw version
TEXT	_main(SB), 1, $-8
	ADD	$-16, R1
	MOVD	$0, R0
	MOVD	$setSB(SB), R2
	MOVD	RARG, _tos(SB)

	MOVD	$main(SB), RARG
	MOVD	R0, LR
	MOVD	$_callmain(SB), R4
	MOVD	R4, CTR
	BR	(CTR)