shithub: riscv

ref: a70280308ae782ac422e78ccf19b221697116c1b
dir: /sys/src/ape/lib/ap/amd64/main9.s/

View raw version
GLOBL	_tos(SB), $8

TEXT	_main(SB), 1, $0
	MOVQ	AX, _tos(SB)
	MOVQ	$_apemain(SB), RARG
	PUSHQ	RARG
	PUSHQ	$0
	JMPF	_callmain(SB)