shithub: riscv

ref: ff6a0f490a9f7b11ec7e370dfd0a923cd0318d40
dir: /sys/src/libc/arm64/main9.s/

View raw version
TEXT	_main(SB), 1, $0
	SUB	$16, SP
	MOV	$setSB(SB), R28
	MOV	R0, _tos(SB)

	MOV	$main(SB), R0

	MOV	$0, R30
	B	_callmain(SB)