shithub: riscv

ref: e4509d40cc9759baddf1c2571247b95d2f5b61a5
dir: /sys/src/ape/lib/ap/arm64/main9.s/

View raw version
GLOBL	_tos(SB), $8

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

	MOV	$_apemain(SB), R0

	MOV	$0, R30
	B	_callmain(SB)