github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/pkg/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 TEXT _rt0_386_windows(SB),7,$12 6 MOVL 12(SP), AX 7 LEAL 16(SP), BX 8 MOVL AX, 4(SP) 9 MOVL BX, 8(SP) 10 MOVL $-1, 0(SP) // return PC for main 11 JMP main(SB) 12 13 TEXT main(SB),7,$0 14 JMP _rt0_386(SB) 15 16 17 DATA runtime·iswindows(SB)/4, $1 18 GLOBL runtime·iswindows(SB), $4