aboutsummaryrefslogtreecommitdiff
path: root/projects/08/FunctionCalls/NestedCall/NestedCallStack.html
blob: 70582b6f29af1a34de816b38db3124a43032783b (plain) (blame)
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
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>NestedCall.tst &mdash; Stack Frames</title>
	<style type="text/css">
	.stack {border-collapse:collapse; font-size:80%;}
	.stack td {padding-left:.25em;padding-right:.25em;white-space:nowrap;}
	.stack td:first-child {text-align:right;}
	.stack td:first-child + td {text-align:right;}
	.stack td:first-child + td + td {text-align:left;}
	.stack td:first-child + td + td + td {text-align:left;}
	.stack .reg {border-left:1px solid; border-right:1px solid;}
	.stack .reg th {border:1px solid;} 
	.stack .stack {border-left:1px solid; border-right:1px solid;}
	.stack .stack th {border:1px solid;} 
	.stack .tos {border-left:1px solid; border-right:1px solid;border-bottom:1px solid;}
	.stack .frame {border-left:1px solid; border-right:1px solid;}
	.stack .frame td:first-child + td {border-left:1px solid;}
	.stack .frame td:first-child + td + td {border-right:1px solid;}
	.stack .framet {border-left:1px solid; border-right:1px solid;}
	.stack .framet td:first-child + td {border-left:1px solid;border-top:1px solid;}
	.stack .framet td:first-child + td + td {border-right:1px solid;border-top:1px solid;}
	.stack .bframe {border-left:1px solid; border-right:1px solid;}
	.stack .bframe td:first-child + td {border-left:2px solid;}
	.stack .bframe td:first-child + td + td {border-right:2px solid;}
	.stack .bframet {border-left:1px solid; border-right:1px solid;}
	.stack .bframet td:first-child + td {border-left:2px solid;border-top:2px solid;}
	.stack .bframet td:first-child + td + td {border-right:2px solid;border-top:2px solid;}
	.stack .bframeb {border-left:1px solid; border-right:1px solid;}
	.stack .bframeb td:first-child + td {border-left:2px solid;border-bottom:2px solid;}
	.stack .bframeb td:first-child + td + td {border-right:2px solid;border-bottom:2px solid;}
	.stack .note td {padding-left:.5em;padding-right:.5em;white-space:normal;text-align:justify;}
	.stack .fid {font-style:italic}
	.master {width: 10%;}
	.master td {vertical-align:top;padding-right:.5em; }
	</style>
</head>
<body>
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<table class="master">
<tr>
  <td>
	<table class="stack">
	<tr><th colspan="4">Bootstrap init</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>256</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>-1</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>-2</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>-3</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>-4</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="tos"><td>256</td><td>???</td><td></td><td>&larr;SP</td></tr>
	<tr class="note"><td colspan="4"><br>
		This is how my boot&shy;strap code initial&shy;izes the pointers before calling Sys.init().
		<p>
		Setting the LCL, ARG, THIS and THAT point&shy;ers to known illegal values helps identify 
		when a pointer is used before it is initial&shy;ized.
		<p>
		(If you are running the NestedCall test with&shy;out boot&shy;strap code, you will not see this state.)</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">Entry to Sys.init()</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>261</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>261</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>256</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>-3</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>-4</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="bframet"><td>256</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="bframe"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframeb"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="tos"><td>261</td><td>???</td><td></td><td>&larr;LCL, SP</td></tr>
	<tr class="note"><td colspan="4"><br>
		This is how NestedCall.tst initial&shy;izes the pointers and stack.  This is what RAM looks 
		like after my boot&shy;strap calls Sys.init().
		<p>
		(If your VM trans&shy;lation includes the boot&shy;strap, the -1 through -4 values may be 
		different if your boot&shy;strap initial&shy;izes them.)</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">Entry to Sys.main()</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>266</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>266</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>261</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4000</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5000</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="framet"><td>256</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="frame"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframet"><td>261</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>262</td><td>261</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>263</td><td>256</td><td>Saved ARG</td><td class="fid">Sys.main</td></tr>
	<tr class="bframe"><td>264</td><td>4000</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframeb"><td>265</td><td>5000</td><td>Saved THAT</td><td></td></tr>
	<tr class="tos"><td>266</td><td>???</td><td></td><td>&larr;LCL, SP</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">After Sys.main() prologue</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>271</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>266</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>261</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4000</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5000</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="framet"><td>256</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="frame"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframet"><td>261</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>262</td><td>261</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>263</td><td>256</td><td>Saved ARG</td><td class="fid">Sys.main</td></tr>
	<tr class="bframe"><td>264</td><td>4000</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframe"><td>265</td><td>5000</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframe"><td>266</td><td>0</td><td>local 0</td><td>&larr;LCL</td></tr>
	<tr class="bframe"><td>267</td><td>0</td><td>local 1</td><td></td></tr>
	<tr class="bframe"><td>268</td><td>0</td><td>local 2</td><td></td></tr>
	<tr class="bframe"><td>269</td><td>0</td><td>local 3</td><td></td></tr>
	<tr class="bframeb"><td>270</td><td>0</td><td>local 4</td><td></td></tr>
	<tr class="tos"><td>271</td><td>???</td><td></td><td>&larr;SP</td></tr>
	<tr class="note"><td colspan="4"><br>
		The <i>function prologue</i> is the assembly language code generated for the 
		"function" VM command.
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">Entry to Sys.add12(123)</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>277</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>277</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>271</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4001</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5001</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="framet"><td>256</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="frame"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="framet"><td>261</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>262</td><td>261</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>263</td><td>256</td><td>Saved ARG</td><td class="fid">Sys.main</td></tr>
	<tr class="frame"><td>264</td><td>4000</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>265</td><td>5000</td><td>Saved THAT</td><td></td></tr>
	<tr class="frame"><td>266</td><td>0</td><td>local 0</td><td></td></tr>
	<tr class="frame"><td>267</td><td>200</td><td>local 1</td><td></td></tr>
	<tr class="frame"><td>268</td><td>40</td><td>local 2</td><td></td></tr>
	<tr class="frame"><td>269</td><td>6</td><td>local 3</td><td></td></tr>
	<tr class="frame"><td>270</td><td>0</td><td>local 4</td><td></td></tr>
	<tr class="bframet"><td>271</td><td>123</td><td>argument 0</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>272</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="bframe"><td>273</td><td>266</td><td>Saved LCL</td><td class="fid">Sys.add12</td></tr>
	<tr class="bframe"><td>274</td><td>261</td><td>Saved ARG</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframe"><td>275</td><td>4001</td><td>Saved THIS</td><td></td></tr>
	<tr class="bframeb"><td>276</td><td>5001</td><td>Saved THAT</td><td></td></tr>
	<tr class="tos"><td>277</td><td>???</td><td></td><td>&larr;LCL, SP</td></tr>
	</table>
  </td>
</tr></table>

<p>

<table class="master">
<tr>
  <td>
	<table class="stack">
	<tr><th colspan="4">Before Sys.add12() return</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>278</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>277</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>271</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4002</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5002</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="framet"><td>256</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="frame"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="framet"><td>261</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>262</td><td>261</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>263</td><td>256</td><td>Saved ARG</td><td class="fid">Sys.main</td></tr>
	<tr class="frame"><td>264</td><td>4000</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>265</td><td>5000</td><td>Saved THAT</td><td></td></tr>
	<tr class="frame"><td>266</td><td>0</td><td>local 0</td><td></td></tr>
	<tr class="frame"><td>267</td><td>200</td><td>local 1</td><td></td></tr>
	<tr class="frame"><td>268</td><td>40</td><td>local 2</td><td></td></tr>
	<tr class="frame"><td>269</td><td>6</td><td>local 3</td><td></td></tr>
	<tr class="frame"><td>270</td><td>0</td><td>local 4</td><td></td></tr>
	<tr class="bframet"><td>271</td><td>123</td><td>argument 0</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>272</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="bframe"><td>273</td><td>266</td><td>Saved LCL</td><td class="fid">Sys.add12</td></tr>
	<tr class="bframe"><td>274</td><td>261</td><td>Saved ARG</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframe"><td>275</td><td>4001</td><td>Saved THIS</td><td></td></tr>
	<tr class="bframe"><td>276</td><td>5001</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframeb"><td>277</td><td>135</td><td>Return value</td><td>&larr;LCL</td></tr>
	<tr class="tos"><td>278</td><td>???</td><td></td><td>&larr;SP</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">After Sys.add12() return</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>272</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>266</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>261</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4001</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5001</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="framet"><td>256</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="frame"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframet"><td>261</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>262</td><td>261</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>263</td><td>256</td><td>Saved ARG</td><td class="fid">Sys.main</td></tr>
	<tr class="bframe"><td>264</td><td>4000</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframe"><td>265</td><td>5000</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframe"><td>266</td><td>0</td><td>local 0</td><td>&larr;LCL</td></tr>
	<tr class="bframe"><td>267</td><td>200</td><td>local 1</td><td></td></tr>
	<tr class="bframe"><td>268</td><td>40</td><td>local 2</td><td></td></tr>
	<tr class="bframe"><td>269</td><td>6</td><td>local 3</td><td></td></tr>
	<tr class="bframe"><td>270</td><td>0</td><td>local 4</td><td></td></tr>
	<tr class="bframeb"><td>271</td><td>135</td><td>Return value</td><td></td></tr>
	<tr class="tos"><td>272</td><td>???</td><td></td><td>&larr;SP</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">Before Sys.main() return</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>272</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>266</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>261</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4001</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5001</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="framet"><td>256</td><td>*</td><td>Return IP</td><td></td></tr>
	<tr class="frame"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="frame"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="frame"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="frame"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframet"><td>261</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>262</td><td>261</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>263</td><td>256</td><td>Saved ARG</td><td class="fid">Sys.main</td></tr>
	<tr class="bframe"><td>264</td><td>4000</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframe"><td>265</td><td>5000</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframe"><td>266</td><td>0</td><td>local 0</td><td>&larr;LCL</td></tr>
	<tr class="bframe"><td>267</td><td>200</td><td>local 1</td><td></td></tr>
	<tr class="bframe"><td>268</td><td>40</td><td>local 2</td><td></td></tr>
	<tr class="bframe"><td>269</td><td>6</td><td>local 3</td><td></td></tr>
	<tr class="bframe"><td>270</td><td>0</td><td>local 4</td><td></td></tr>
	<tr class="bframeb"><td>271</td><td>246</td><td>Return value</td><td></td></tr>
	<tr class="tos"><td>272</td><td>???</td><td></td><td>&larr;SP</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">After Sys.main() return</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>262</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>261</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>256</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4000</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5000</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="bframet"><td>256</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="bframe"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframe"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="bframeb"><td>261</td><td>246</td><td>Return value</td><td>&larr;LCL</td></tr>
	<tr class="tos"><td>262</td><td>???</td><td></td><td>&larr;SP</td></tr>
	</table>
  </td><td>
	<table class="stack">
	<tr><th colspan="4">In Sys.init() halt loop</th></tr>
	<tr class="reg"><th colspan="4">Pointers</th></tr>
	<tr class="reg"><td>0</td><td>261</td><td>SP</td><td></td></tr>
	<tr class="reg"><td>1</td><td>261</td><td>LCL</td><td></td></tr>
	<tr class="reg"><td>2</td><td>256</td><td>ARG</td><td></td></tr>
	<tr class="reg"><td>3</td><td>4000</td><td>THIS</td><td></td></tr>
	<tr class="reg"><td>4</td><td>5000</td><td>THAT</td><td></td></tr>
	<tr class="stack"><th colspan="4">Stack</th></tr>
	<tr class="bframet"><td>256</td><td>*</td><td>Return IP</td><td>&larr;ARG</td></tr>
	<tr class="bframe"><td>257</td><td>-1</td><td>Saved LCL</td><td></td></tr>
	<tr class="bframe"><td>258</td><td>-2</td><td>Saved ARG</td><td class="fid">Sys.init</td></tr>
	<tr class="bframe"><td>259</td><td>-3</td><td>Saved THIS</td><td class="fid">&ensp;frame</td></tr>
	<tr class="bframeb"><td>260</td><td>-4</td><td>Saved THAT</td><td></td></tr>
	<tr class="tos"><td>261</td><td>???</td><td></td><td>&larr;LCL, SP</td></tr>
	</table>
  </td>
</tr></table>

</body>
</html>