shithub: riscv

ref: 1769b00b9126d2a9fb6e4acc9dc5a37dc4c96716
dir: /sys/src/9/bitsy/init9.s/

View raw version
TEXT	_main(SB),$8
	MOVW	$setR12(SB), R12	/* load the SB */
	MOVW	$boot(SB), R0

	ADD	$12, R13, R1	/* get a pointer to 0(FP) */

	MOVW	R0, 4(R13)
	MOVW	R1, 8(R13)

	BL	startboot(SB)