about summary refs log tree commit diff stats
path: root/html/linux/102test.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/linux/102test.subx.html')
-rw-r--r--html/linux/102test.subx.html33
1 files changed, 17 insertions, 16 deletions
diff --git a/html/linux/102test.subx.html b/html/linux/102test.subx.html
index 274a90c2..8a143b89 100644
--- a/html/linux/102test.subx.html
+++ b/html/linux/102test.subx.html
@@ -14,14 +14,15 @@ pre { font-family: monospace; color: #000000; background-color: #ffffd7; }
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
+.SpecialChar { color: #d70000; }
 .subxComment { color: #005faf; }
+.subxS1Comment { color: #0000af; }
 .subxS2Comment { color: #8a8a8a; }
 .LineNr { }
+.Constant { color: #008787; }
 .subxFunction { color: #af5f00; text-decoration: underline; }
-.subxS1Comment { color: #0000af; }
 .Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; }
-.SpecialChar { color: #d70000; }
-.Constant { color: #008787; }
+.CommentedCode { color: #8a8a8a; }
 -->
 </style>
 
@@ -64,19 +65,19 @@ if ('onhashchange' in window) {
 <span id="L5" class="LineNr">  5 </span><span class="subxS1Comment"># . op          subop               mod             rm32          base        index         scale       r32</span>
 <span id="L6" class="LineNr">  6 </span><span class="subxS1Comment"># . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes</span>
 <span id="L7" class="LineNr">  7 </span>
-<span id="L8" class="LineNr">  8 </span><span class="SpecialChar">Entry</span>:  <span class="subxComment"># manual test</span>
-<span id="L9" class="LineNr">  9 </span>    <span class="subxComment"># check-ints-equal(34, 34)</span>
-<span id="L10" class="LineNr"> 10 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L11" class="LineNr"> 11 </span>    68/push  <span class="Constant">&quot;error in check-ints-equal&quot;</span>/imm32
-<span id="L12" class="LineNr"> 12 </span>    68/push  34/imm32
-<span id="L13" class="LineNr"> 13 </span>    68/push  34/imm32
-<span id="L14" class="LineNr"> 14 </span>    <span class="subxS2Comment"># . . call</span>
-<span id="L15" class="LineNr"> 15 </span>    e8/call  <a href='102test.subx.html#L23'>check-ints-equal</a>/disp32
-<span id="L16" class="LineNr"> 16 </span>    <span class="subxS2Comment"># . . discard args</span>
-<span id="L17" class="LineNr"> 17 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              0xc/imm32         <span class="subxComment"># add to esp</span>
-<span id="L18" class="LineNr"> 18 </span>    <span class="subxComment"># syscall(exit, 0)</span>
-<span id="L19" class="LineNr"> 19 </span>    bb/copy-to-ebx  0/imm32
-<span id="L20" class="LineNr"> 20 </span>    e8/call  <a href='000init.subx.html#L18'>syscall_exit</a>/disp32
+<span id="L8" class="LineNr">  8 </span><span class="CommentedCode">#? Entry:  # manual test</span>
+<span id="L9" class="LineNr">  9 </span><span class="CommentedCode">#?     # check-ints-equal(34, 34)</span>
+<span id="L10" class="LineNr"> 10 </span><span class="CommentedCode">#?     # . . push args</span>
+<span id="L11" class="LineNr"> 11 </span><span class="CommentedCode">#?     68/push  &quot;error in check-ints-equal&quot;/imm32</span>
+<span id="L12" class="LineNr"> 12 </span><span class="CommentedCode">#?     68/push  34/imm32</span>
+<span id="L13" class="LineNr"> 13 </span><span class="CommentedCode">#?     68/push  34/imm32</span>
+<span id="L14" class="LineNr"> 14 </span><span class="CommentedCode">#?     # . . call</span>
+<span id="L15" class="LineNr"> 15 </span><span class="CommentedCode">#?     e8/call  check-ints-equal/disp32</span>
+<span id="L16" class="LineNr"> 16 </span><span class="CommentedCode">#?     # . . discard args</span>
+<span id="L17" class="LineNr"> 17 </span><span class="CommentedCode">#?     81          0/subop/add         3/mod/direct    4/rm32/esp    .           .             .           .           .               0xc/imm32         # add to esp</span>
+<span id="L18" class="LineNr"> 18 </span><span class="CommentedCode">#?     # syscall_exit(0)</span>
+<span id="L19" class="LineNr"> 19 </span><span class="CommentedCode">#?     bb/copy-to-ebx  0/imm32</span>
+<span id="L20" class="LineNr"> 20 </span><span class="CommentedCode">#?     e8/call  syscall_exit/disp32</span>
 <span id="L21" class="LineNr"> 21 </span>
 <span id="L22" class="LineNr"> 22 </span><span class="subxComment"># print msg to stderr if a != b, otherwise print &quot;.&quot;</span>
 <span id="L23" class="LineNr"> 23 </span><span class="subxFunction">check-ints-equal</span>:  <span class="subxComment"># a: int, b: int, msg: (addr array byte)</span>
2e1fa803ea6fe568b890abc'>^
6030d7e2 ^
33352536 ^




6030d7e2 ^
7a583220 ^
33352536 ^

aff782c4 ^
33352536 ^









1639687b ^
33352536 ^

71ee78f2 ^
33352536 ^








71ee78f2 ^
21cb677f ^
33352536 ^
51c311d5 ^
db268970 ^
33352536 ^
db268970 ^
33352536 ^
db268970 ^
33352536 ^
71ee78f2 ^
db268970 ^
33352536 ^
db268970 ^
33352536 ^
71ee78f2 ^

33352536 ^
71ee78f2 ^

33352536 ^
71ee78f2 ^
ee9a9237 ^
33352536 ^



7a583220 ^
33352536 ^

6030d7e2 ^
d11372f6 ^
9d27e966 ^
d11372f6 ^
03d50cc8 ^
33352536 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
71ee78f2 ^
ee9a9237 ^
33352536 ^

ee9a9237 ^
6030d7e2 ^

33352536 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
33352536 ^
6030d7e2 ^
d11372f6 ^
03d50cc8 ^
33352536 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
71ee78f2 ^
ee9a9237 ^
33352536 ^

ee9a9237 ^
6030d7e2 ^

33352536 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
33352536 ^
6030d7e2 ^
d11372f6 ^
03d50cc8 ^
33352536 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
71ee78f2 ^
ee9a9237 ^
33352536 ^

ee9a9237 ^
6030d7e2 ^

33352536 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
33352536 ^
6030d7e2 ^
d11372f6 ^
03d50cc8 ^
33352536 ^
ee9a9237 ^
6030d7e2 ^

ee9a9237 ^
71ee78f2 ^
ee9a9237 ^
33352536 ^

ee9a9237 ^
6030d7e2 ^

33352536 ^
ee9a9237 ^
6030d7e2 ^
ee9a9237 ^
33352536 ^
6030d7e2 ^
ed0e64a9 ^
0b2d2d97 ^

7a583220 ^
33352536 ^

0b2d2d97 ^
33352536 ^

0b2d2d97 ^
33352536 ^

0b2d2d97 ^


33352536 ^

0b2d2d97 ^
33352536 ^
0b2d2d97 ^
33352536 ^
0b2d2d97 ^


33352536 ^
0b2d2d97 ^

33352536 ^
7a583220 ^
33352536 ^

0b2d2d97 ^










33352536 ^

0b2d2d97 ^


33352536 ^
0b2d2d97 ^


33352536 ^
0b2d2d97 ^

ee9a9237 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230