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

     1  // Copyright 2009 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  
     7  TEXT _rt0_386_windows(SB),NOSPLIT,$12
     8  	MOVL	12(SP), AX
     9  	LEAL	16(SP), BX
    10  	MOVL	AX, 4(SP)
    11  	MOVL	BX, 8(SP)
    12  	MOVL	$-1, 0(SP) // return PC for main
    13  	JMP	_main(SB)
    14  
    15  TEXT _main(SB),NOSPLIT,$0
    16  	JMP	runtime·rt0_go(SB)