LEFT | RIGHT |
(no file at all) | |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 #include "textflag.h" | 5 #include "textflag.h" |
6 | 6 |
7 TEXT _rt0_386_windows(SB),NOSPLIT,$12 | 7 TEXT _rt0_386_windows(SB),NOSPLIT,$12 |
8 MOVL 12(SP), AX | 8 MOVL 12(SP), AX |
9 LEAL 16(SP), BX | 9 LEAL 16(SP), BX |
10 MOVL AX, 4(SP) | 10 MOVL AX, 4(SP) |
11 MOVL BX, 8(SP) | 11 MOVL BX, 8(SP) |
12 MOVL $-1, 0(SP) // return PC for main | 12 MOVL $-1, 0(SP) // return PC for main |
13 JMP main(SB) | 13 JMP main(SB) |
14 | 14 |
15 TEXT main(SB),NOSPLIT,$0 | 15 TEXT main(SB),NOSPLIT,$0 |
16 JMP runtime·rt0_go(SB) | 16 JMP runtime·rt0_go(SB) |
17 | 17 |
18 | 18 |
19 DATA runtime·iswindows(SB)/4, $1 | 19 DATA runtime·iswindows(SB)/4, $1 |
20 GLOBL runtime·iswindows(SB), $4 | 20 GLOBL runtime·iswindows(SB), NOPTR, $4 |
LEFT | RIGHT |