shithub: riscv

ref: dc593372bfc4224c6cf91d2031d0ad0aeadaddfe
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)