github.com/aloncn/graphics-go@v0.0.1/src/runtime/rt0_windows_amd64.s (about)

     1  // Copyright 2011 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 "go_asm.h"
     6  #include "go_tls.h"
     7  #include "textflag.h"
     8  
     9  TEXT _rt0_amd64_windows(SB),NOSPLIT,$-8
    10  	LEAQ	8(SP), SI // argv
    11  	MOVQ	0(SP), DI // argc
    12  	MOVQ	$main(SB), AX
    13  	JMP	AX
    14  
    15  TEXT main(SB),NOSPLIT,$-8
    16  	MOVQ	$runtime·rt0_go(SB), AX
    17  	JMP	AX