Side by Side Diff

Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(145)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Side by Side Diff: src/pkg/runtime/plan9/386/rt0.s

Issue 2273041: code review 2273041: Initial Plan9 runtime support for 386. (Closed)
Patch Set: code review 2273041: Initial Plan9 runtime support for 386. Created 15 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« src/pkg/runtime/386/asm.s ('K') | « src/pkg/runtime/plan9/386/defs.h ('k') | src/pkg/runtime/plan9/386/signal.c » ('j') | no next file with comments »
('i') | ('e') | ('c') | ('s')
OLDNEW
(Empty)
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 #define ARGS_OFFSET 8
rsc1 2010年10月12日 02:50:08 only used once; can go away
only used once; can go away
paulzhol 2010年10月12日 08:06:59 Done.
On 2010年10月12日 02:50:08, rsc1 wrote: > only used once; can go away
Done.
6
7 TEXT _rt0_386_plan9(SB),7, 0ドル
8 MOVL AX, _tos(SB)
9
10 // move arguments down to SP
11 LEAL argc+0(SP), SI
rsc1 2010年10月12日 02:50:08 // move arguments down to make room for // m and g
// move arguments down to make room for // m and g at top of stack. MOVL SP, SI SUBL 8,ドル SP MOVL SP, DI seems pretty clear to me
paulzhol 2010年10月12日 08:06:59 Done.
On 2010年10月12日 02:50:08, rsc1 wrote: > // move arguments down to make room for > // m and g at top of stack. > MOVL SP, SI > SUBL 8,ドル SP > MOVL SP, DI > > > seems pretty clear to me
Done.
12 ········
13 SUBL $ARGS_OFFSET, SP········
14 MOVL SP, DI
15 ················
16 MOVL AX, CX
17 SUBL SI, CX
18 CLD
19 REP; MOVSB
20 ········
21 // adjust argv
22 SUBL SI, DI
23 MOVL newargc+0(SP), CX
24 LEAL newargv+4(SP), BP
25 argv_fix:
26 ADDL DI, 0(BP)
27 ADDL 4,ドル BP
28 LOOP argv_fix
29 ········
30 JMP _rt0_386(SB)
31
32 DATA isplan9+0(SB)/4, 1ドル
33 GLOBL isplan9(SB), 4ドル
34 GLOBL _tos(SB), 4ドル
OLDNEW
« src/pkg/runtime/386/asm.s ('K') | « src/pkg/runtime/plan9/386/defs.h ('k') | src/pkg/runtime/plan9/386/signal.c » ('j') | no next file with comments »
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /