shithub: riscv

ref: e1cd22504e26d0a732a4219d38d6e5fe3e03aa21
dir: /sys/src/libc/power/main9.s/

View raw version
TEXT	_main(SB), 1, $0
	SUB	$8, R1
	MOVW	$setSB(SB), R2
	MOVW	R3, _tos(SB)

	MOVW	$main(SB), R3
	MOVW	R0, LR
	MOVW	$_callmain(SB), R4
	MOVW	R4, CTR
	BR	(CTR)