...

Text file src/runtime/rt0_openbsd_riscv64.s

Documentation: runtime

     1// Copyright 2022 The Go Authors. All rights reserved.
     2// Use of this source code is governed by a BSD-style
     3// license that can be found in the LICENSE file.
     4
     5#include "textflag.h"
     6
     7TEXT _rt0_riscv64_openbsd(SB),NOSPLIT|NOFRAME,$0
     8	MOV	0(X2), A0	// argc
     9	ADD	$8, X2, A1	// argv
    10	JMP	main(SB)
    11
    12TEXT main(SB),NOSPLIT|NOFRAME,$0
    13	MOV	$runtime·rt0_go(SB), T0
    14	JALR	ZERO, T0

View as plain text