about summary refs log tree commit diff stats
path: root/arc/.traces/integer-to-decimal-string
blob: 74195774cc43dc7f55dd63f50326a9818e28f00a (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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
c{0: 0 (((1 string-address) (raw)) <- ((integer-to-decimal-string)) ((34 literal))) -- nil
c{1: 0 ✓ (((1 string-address) (raw)) <- ((integer-to-decimal-string)) ((34 literal)))
cn0: convert-names in main
cn0: (((1 string-address) (raw)) <- ((integer-to-decimal-string)) ((34 literal))) nil nil
cn0: checking arg ((34 literal))
cn0: checking oarg ((1 string-address) (raw))
maybe-add: ((1 string-address) (raw))
cn1: (((1 string-address) (raw)) <- ((integer-to-decimal-string)) ((34 literal)))
schedule: main
run: main 0: (((1 string-address) (raw)) <- ((integer-to-decimal-string)) ((34 literal)))
run: integer-to-decimal-string/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: integer-to-decimal-string/main 0: 1000 => ((default-space space-address))
run: integer-to-decimal-string/main 1: (((1 integer)) <- ((next-input)))
arg: nil 0 (34)
run: integer-to-decimal-string/main 1: 34 => ((1 integer))
mem: ((1 integer)): 1002 <= 34
run: integer-to-decimal-string/main 2: (((2 boolean)) <- ((equal)) ((1 integer)) ((0 literal)))
mem: ((1 integer)) => 34
run: integer-to-decimal-string/main 2: nil => ((2 boolean))
mem: ((2 boolean)): 1003 <= nil
run: integer-to-decimal-string/main 3: (((jump-unless)) ((2 boolean)) ((2 offset)))
mem: ((2 boolean)) => nil
run: integer-to-decimal-string/main 6: (((4 boolean)) <- ((copy)) ((nil literal)))
run: integer-to-decimal-string/main 6: nil => ((4 boolean))
mem: ((4 boolean)): 1005 <= nil
run: integer-to-decimal-string/main 7: (((5 boolean)) <- ((less-than)) ((1 integer)) ((0 literal)))
mem: ((1 integer)) => 34
run: integer-to-decimal-string/main 7: nil => ((5 boolean))
mem: ((5 boolean)): 1006 <= nil
run: integer-to-decimal-string/main 8: (((jump-unless)) ((5 boolean)) ((2 offset)))
mem: ((5 boolean)) => nil
run: integer-to-decimal-string/main 11: (((6 buffer-address)) <- ((init-buffer)) ((30 literal)))
run: init-buffer/integer-to-decimal-string/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: init-buffer/integer-to-decimal-string/main 0: 1031 => ((default-space space-address))
run: init-buffer/integer-to-decimal-string/main 1: (((1 buffer-address)) <- ((new)) ((buffer literal)))
run: init-buffer/integer-to-decimal-string/main 1: 1062 => ((1 buffer-address))
mem: ((1 buffer-address)): 1033 <= 1062
run: init-buffer/integer-to-decimal-string/main 2: (((2 integer-address)) <- ((get-address)) ((1 buffer-address) (deref)) ((0 offset)))
run: init-buffer/integer-to-decimal-string/main 2: 1062 => ((2 integer-address))
mem: ((2 integer-address)): 1034 <= 1062
run: init-buffer/integer-to-decimal-string/main 3: (((2 integer-address) (deref)) <- ((copy)) ((0 literal)))
run: init-buffer/integer-to-decimal-string/main 3: 0 => ((2 integer-address) (deref))
mem: ((2 integer-address) (deref)): 1062 <= 0
run: init-buffer/integer-to-decimal-string/main 4: (((3 string-address-address)) <- ((get-address)) ((1 buffer-address) (deref)) ((1 offset)))
run: init-buffer/integer-to-decimal-string/main 4: 1063 => ((3 string-address-address))
mem: ((3 string-address-address)): 1035 <= 1063
run: init-buffer/integer-to-decimal-string/main 5: (((4 integer)) <- ((next-input)))
arg: nil 0 (30)
run: init-buffer/integer-to-decimal-string/main 5: 30 => ((4 integer))
mem: ((4 integer)): 1036 <= 30
run: init-buffer/integer-to-decimal-string/main 6: (((3 string-address-address) (deref)) <- ((new)) ((string literal)) ((4 integer)))
mem: ((4 integer)) => 30
run: init-buffer/integer-to-decimal-string/main 6: 1064 => ((3 string-address-address) (deref))
mem: ((3 string-address-address) (deref)): 1063 <= 1064
run: init-buffer/integer-to-decimal-string/main 7: (((reply)) ((1 buffer-address)))
mem: ((1 buffer-address)) => 1062
run: integer-to-decimal-string/main 11: 1062 => ((6 buffer-address))
mem: ((6 buffer-address)): 1007 <= 1062
run: integer-to-decimal-string/main 12: (((7 character)) <- ((copy)) ((0 literal)))
run: integer-to-decimal-string/main 12: #\0 => ((7 character))
mem: ((7 character)): 1008 <= #\0
run: integer-to-decimal-string/main 13: (((8 integer)) <- ((character-to-integer)) ((7 character)))
mem: ((7 character)) => 0
run: integer-to-decimal-string/main 13: 48 => ((8 integer))
mem: ((8 integer)): 1009 <= 48
run: integer-to-decimal-string/main 14: (((9 boolean)) <- ((equal)) ((1 integer)) ((0 literal)))
mem: ((1 integer)) => 34
run: integer-to-decimal-string/main 14: nil => ((9 boolean))
mem: ((9 boolean)): 1010 <= nil
run: integer-to-decimal-string/main 15: (((jump-if)) ((9 boolean)) ((5 offset)))
mem: ((9 boolean)) => nil
run: integer-to-decimal-string/main 16: (((1 integer)) ((10 integer)) <- ((divide-with-remainder)) ((1 integer)) ((10 literal)))
mem: ((1 integer)) => 34
mem: ((1 integer)) => 34
run: integer-to-decimal-string/main 16: 3 => ((1 integer))
mem: ((1 integer)): 1002 <= 3
run: integer-to-decimal-string/main 16: 4 => ((10 integer))
mem: ((10 integer)): 1011 <= 4
run: integer-to-decimal-string/main 17: (((11 integer)) <- ((add)) ((8 integer)) ((10 integer)))
mem: ((8 integer)) => 48
mem: ((10 integer)) => 4
run: integer-to-decimal-string/main 17: 52 => ((11 integer))
mem: ((11 integer)): 1012 <= 52
run: integer-to-decimal-string/main 18: (((12 character)) <- ((integer-to-character)) ((11 integer)))
mem: ((11 integer)) => 52
run: integer-to-decimal-string/main 18: #\4 => ((12 character))
mem: ((12 character)): 1013 <= #\4
run: integer-to-decimal-string/main 19: (((6 buffer-address)) <- ((append)) ((6 buffer-address)) ((12 character)))
mem: ((6 buffer-address)) => 1062
mem: ((12 character)) => 4
run: append/integer-to-decimal-string/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: append/integer-to-decimal-string/main 0: 1095 => ((default-space space-address))
run: append/integer-to-decimal-string/main 1: (((1 buffer-address)) <- ((next-input)))
arg: nil 0 (1062 #\4)
run: append/integer-to-decimal-string/main 1: 1062 => ((1 buffer-address))
mem: ((1 buffer-address)): 1097 <= 1062
run: append/integer-to-decimal-string/main 2: (((2 character)) <- ((next-input)))
arg: nil 1 (1062 #\4)
run: append/integer-to-decimal-string/main 2: #\4 => ((2 character))
mem: ((2 character)): 1098 <= #\4
run: append/integer-to-decimal-string/main 3: (((3 boolean)) <- ((buffer-full?)) ((1 buffer-address)))
mem: ((1 buffer-address)) => 1062
run: buffer-full?/append/integer-to-decimal-string/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: buffer-full?/append/integer-to-decimal-string/main 0: 1126 => ((default-space space-address))
run: buffer-full?/append/integer-to-decimal-string/main 1: (((1 buffer-address)) <- ((next-input)))
arg: nil 0 (1062)
run: buffer-full?/append/integer-to-decimal-string/main 1: 1062 => ((1 buffer-address))
mem: ((1 buffer-address)): 1128 <= 1062
run: buffer-full?/append/integer-to-decimal-string/main 2: (((2 integer)) <- ((get)) ((1 buffer-address) (deref)) ((0 offset)))
mem: ((1062 integer) (raw)) => 0
run: buffer-full?/append/integer-to-decimal-string/main 2: 0 => ((2 integer))
mem: ((2 integer)): 1129 <= 0
run: buffer-full?/append/integer-to-decimal-string/main 3: (((3 string-address)) <- ((get)) ((1 buffer-address) (deref)) ((1 offset)))
mem: ((1063 string-address) (raw)) => 1064
run: buffer-full?/append/integer-to-decimal-string/main 3: 1064 => ((3 string-address))
mem: ((3 string-address)): 1130 <= 1064
run: buffer-full?/append/integer-to-decimal-string/main 4: (((4 integer)) <- ((length)) ((3 string-address) (deref)))
array-len: ((3 string-address) (deref))
mem: ((1064 integer) (raw)) => 30
run: buffer-full?/append/integer-to-decimal-string/main 4: 30 => ((4 integer))
mem: ((4 integer)): 1131 <= 30
run: buffer-full?/append/integer-to-decimal-string/main 5: (((5 boolean)) <- ((greater-or-equal)) ((2 integer)) ((4 integer)))
mem: ((2 integer)) => 0
mem: ((4 integer)) => 30
run: buffer-full?/append/integer-to-decimal-string/main 5: nil => ((5 boolean))
mem: ((5 boolean)): 1132 <= nil
run: buffer-full?/append/integer-to-decimal-string/main 6: (((reply)) ((5 boolean)))
mem: ((5 boolean)) => nil
run: append/integer-to-decimal-string/main 3: nil => ((3 boolean))
mem: ((3 boolean)): 1099 <= nil
run: append/integer-to-decimal-string/main 4: (((jump-unless)) ((3 boolean)) ((1 offset)))
mem: ((3 boolean)) => nil
run: append/integer-to-decimal-string/main 6: (((4 integer-address)) <- ((get-address)) ((1 buffer-address) (deref)) ((0 offset)))
run: append/integer-to-decimal-string/main 6: 1062 => ((4 integer-address))
mem: ((4 integer-address)): 1100 <= 1062
run: append/integer-to-decimal-string/main 7: (((5 string-address)) <- ((get)) ((1 buffer-address) (deref)) ((1 offset)))
mem: ((1063 string-address) (raw)) => 1064
run: append/integer-to-decimal-string/main 7: 1064 => ((5 string-address))
mem: ((5 string-address)): 1101 <= 1064
run: append/integer-to-decimal-string/main 8: (((6 byte-address)) <- ((index-address)) ((5 string-address) (deref)) ((4 integer-address) (deref)))
mem: ((4 integer-address) (deref)) => 0
array-len: ((1064 string) (raw))
mem: ((1064 integer) (raw)) => 30
run: append/integer-to-decimal-string/main 8: 1065 => ((6 byte-address))
mem: ((6 byte-address)): 1102 <= 1065
run: append/integer-to-decimal-string/main 9: (((6 byte-address) (deref)) <- ((copy)) ((2 character)))
mem: ((2 character)) => 4
run: append/integer-to-decimal-string/main 9: #\4 => ((6 byte-address) (deref))
mem: ((6 byte-address) (deref)): 1065 <= #\4
run: append/integer-to-decimal-string/main 10: (((4 integer-address) (deref)) <- ((add)) ((4 integer-address) (deref)) ((1 literal)))
mem: ((4 integer-address) (deref)) => 0
run: append/integer-to-decimal-string/main 10: 1 => ((4 integer-address) (deref))
mem: ((4 integer-address) (deref)): 1062 <= 1
run: append/integer-to-decimal-string/main 11: (((reply)) ((1 buffer-address) (same-as-arg 0)))
mem: ((1 buffer-address) (same-as-arg 0)) => 1062
run: integer-to-decimal-string/main 19: 1062 => ((6 buffer-address))
mem: ((6 buffer-address)): 1007 <= 1062
run: integer-to-decimal-string/main 20: (((jump)) ((-7 offset)))
run: integer-to-decimal-string/main 14: (((9 boolean)) <- ((equal)) ((1 integer)) ((0 literal)))
mem: ((1 integer)) => 3
run: integer-to-decimal-string/main 14: nil => ((9 boolean))
mem: ((9 boolean)): 1010 <= nil
run: integer-to-decimal-string/main 15: (((jump-if)) ((9 boolean)) ((5 offset)))
mem: ((9 boolean)) => nil
run: integer-to-decimal-string/main 16: (((1 integer)) ((10 integer)) <- ((divide-with-remainder)) ((1 integer)) ((10 literal)))
mem: ((1 integer)) => 3
mem: ((1 integer)) => 3
run: integer-to-decimal-string/main 16: 0 => ((1 integer))
mem: ((1 integer)): 1002 <= 0
run: integer-to-decimal-string/main 16: 3 => ((10 integer))
mem: ((10 integer)): 1011 <= 3
run: integer-to-decimal-string/main 17: (((11 integer)) <- ((add)) ((8 integer)) ((10 integer)))
mem: ((8 integer)) => 48
mem: ((10 integer)) => 3
run: integer-to-decimal-string/main 17: 51 => ((11 integer))
mem: ((11 integer)): 1012 <= 51
run: integer-to-decimal-string/main 18: (((12 character)) <- ((integer-to-character)) ((11 integer)))
mem: ((11 integer)) => 51
run: integer-to-decimal-string/main 18: #\3 => ((12 character))
mem: ((12 character)): 1013 <= #\3
run: integer-to-decimal-string/main 19: (((6 buffer-address)) <- ((append)) ((6 buffer-address)) ((12 character)))
mem: ((6 buffer-address)) => 1062
mem: ((12 character)) => 3
run: append/integer-to-decimal-string/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: append/integer-to-decimal-string/main 0: 1157 => ((default-space space-address))
run: append/integer-to-decimal-string/main 1: (((1 buffer-address)) <- ((next-input)))
arg: nil 0 (1062 #\3)
run: append/integer-to-decimal-string/main 1: 1062 => ((1 buffer-address))
mem: ((1 buffer-address)): 1159 <= 1062
run: append/integer-to-decimal-string/main 2: (((2 character)) <- ((next-input)))
arg: nil 1 (1062 #\3)
run: append/integer-to-decimal-string/main 2: #\3 => ((2 character))
mem: ((2 character)): 1160 <= #\3
run: append/integer-to-decimal-string/main 3: (((3 boolean)) <- ((buffer-full?)) ((1 buffer-address)))
mem: ((1 buffer-address)) => 1062
run: buffer-full?/append/integer-to-decimal-string/main 0: (((default-space space-address)) <- ((new)) ((space literal)) ((30 literal)))
run: buffer-full?/append/integer-to-decimal-string/main 0: 1188 => ((default-space space-address))
run: buffer-full?/append/integer-to-decimal-string/main 1: (((1 buffer-address)) <- ((next-input)))
arg: nil 0 (1062)
run: buffer-full?/append/integer-to-decimal-string/main 1: 1062 => ((1 buffer-address))
mem: ((1 buffer-address)): 1190 <= 1062
run: buffer-full?/append/integer-to-decimal-string/main 2: (((2 integer)) <- ((get)) ((1 buffer-address) (deref)) ((0 offset)))
mem: ((1062 integer) (raw)) => 1
run: buffer-full?/append/integer-to-decimal-string/main 2: 1 => ((2 integer))
mem: ((2 integer)): 1191 <= 1
run: buffer-full?/append/integer-to-decimal-string/main 3: (((3 string-address)) <- ((get)) ((1 buffer-address) (deref)) ((1 offset)))
mem: ((1063 string-address) (raw)) => 1064
run: buffer-full?/append/integer-to-decimal-string/main 3: 1064 => ((3 string-address))
mem: ((3 string-address)): 1192 <= 1064
run: buffer-full?/append/integer-to-decimal-string/main 4: (((4 integer)) <- ((length)) ((3 string-address) (deref)))
array-len: ((3 string-address) (deref))
mem: ((1064 integer) (raw)) => 30
run: buffer-full?/append/integer-to-decimal-string/main 4: 30 => ((4 integer))
mem: ((4 integer)): 1193 <= 30
run: buffer-full?/append/integer-to-decimal-string/main 5: (((5 boolean)) <- ((greater-or-equal)) ((2 integer)) ((4 integer)))
mem: ((2 integer)) => 1
mem: ((4 integer)) => 30
run: buffer-full?/append/integer-to-decimal-string/main 5: nil => ((5 boolean))
mem: ((5 boolean)): 1194 <= nil
run: buffer-full?/append/integer-to-decimal-string/main 6: (((reply)) ((5 boolean)))
mem: ((5 boolean)) => nil
run: append/integer-to-decimal-string/main 3: nil => ((3 boolean))
mem: ((3 boolean)): 1161 <= nil
run: append/integer-to-decimal-string/main 4: (((jump-unless)) ((3 boolean)) ((1 offset)))
mem: ((3 boolean)) => nil
run: append/integer-to-decimal-string/main 6: (((4 integer-address)) <- ((get-address)) ((1 buffer-address) (deref)) ((0 offset)))
run: append/integer-to-decimal-string/main 6: 1062 => ((4 integer-address))
mem: ((4 integer-address)): 1162 <= 1062
run: append/integer-to-decimal-string/main 7: (((5 string-address)) <- ((get)) ((1 buffer-address) (deref)) ((1 offset)))
mem: ((1063 string-address) (raw)) => 1064
run: append/integer-to-decimal-string/main 7: 1064 => ((5 string-address))
mem: ((5 string-address)): 1163 <= 1064
run: append/integer-to-decimal-string/main 8: (((6 byte-address)) <- ((index-address)) ((5 string-address) (deref)) ((4 integer-address) (deref)))
mem: ((4 integer-address) (deref)) => 1
array-len: ((1064 string) (raw))
mem: ((1064 integer) (raw)) => 30
run: append/integer-to-decimal-string/main 8: 1066 => ((6 byte-address))
mem: ((6 byte-address)): 1164 <= 1066
run: append/integer-to-decimal-string/main 9: (((6 byte-address) (deref)) <- ((copy)) ((2 character)))
mem: ((2 character)) => 3
run: append/integer-to-decimal-string/main 9: #\3 => ((6 byte-address) (deref))
mem: ((6 byte-address) (deref)): 1066 <= #\3
run: append/integer-to-decimal-string/main 10: (((4 integer-address) (deref)) <- ((add)) ((4 integer-address) (deref)) ((1 literal)))
mem: ((4 integer-address) (deref)) => 1
run: append/integer-to-decimal-string/main 10: 2 => ((4 integer-address) (deref))
mem: ((4 integer-address) (deref)): 1062 <= 2
run: append/integer-to-decimal-string/main 11: (((reply)) ((1 buffer-address) (same-as-arg 0)))
mem: ((1 buffer-address) (same-as-arg 0)) => 1062
run: integer-to-decimal-string/main 19: 1062 => ((6 buffer-address))
mem: ((6 buffer-address)): 1007 <= 1062
run: integer-to-decimal-string/main 20: (((jump)) ((-7 offset)))
run: integer-to-decimal-string/main 14: (((9 boolean)) <- ((equal)) ((1 integer)) ((0 literal)))
mem: ((1 integer)) => 0
run: integer-to-decimal-string/main 14: t => ((9 boolean))
mem: ((9 boolean)): 1010 <= t
run: integer-to-decimal-string/main 15: (((jump-if)) ((9 boolean)) ((5 offset)))
mem: ((9 boolean)) => t
run: integer-to-decimal-string/main 21: (((jump-unless)) ((4 boolean)) ((1 offset)))
mem: ((4 boolean)) => nil
run: integer-to-decimal-string/main 23: (((13 integer)) <- ((get)) ((6 buffer-address) (deref)) ((0 offset)))
mem: ((1062 integer) (raw)) => 2
run: integer-to-decimal-string/main 23: 2 => ((13 integer))
mem: ((13 integer)): 1014 <= 2
run: integer-to-decimal-string/main 24: (((14 string-address)) <- ((get)) ((6 buffer-address) (deref)) ((1 offset)))
mem: ((1063 string-address) (raw)) => 1064
run: integer-to-decimal-string/main 24: 1064 => ((14 string-address))
mem: ((14 string-address)): 1015 <= 1064
run: integer-to-decimal-string/main 25: (((15 string-address)) <- ((new)) ((string literal)) ((13 integer)))
mem: ((13 integer)) => 2
run: integer-to-decimal-string/main 25: 1219 => ((15 string-address))
mem: ((15 string-address)): 1016 <= 1219
run: integer-to-decimal-string/main 26: (((16 integer)) <- ((subtract)) ((13 integer)) ((1 literal)))
mem: ((13 integer)) => 2
run: integer-to-decimal-string/main 26: 1 => ((16 integer))
mem: ((16 integer)): 1017 <= 1
run: integer-to-decimal-string/main 27: (((17 integer)) <- ((copy)) ((0 literal)))
run: integer-to-decimal-string/main 27: 0 => ((17 integer))
mem: ((17 integer)): 1018 <= 0
run: integer-to-decimal-string/main 28: (((9 boolean)) <- ((less-than)) ((16 integer)) ((0 literal)))
mem: ((16 integer)) => 1
run: integer-to-decimal-string/main 28: nil => ((9 boolean))
mem: ((9 boolean)): 1010 <= nil
run: integer-to-decimal-string/main 29: (((jump-if)) ((9 boolean)) ((6 offset)))
mem: ((9 boolean)) => nil
run: integer-to-decimal-string/main 30: (((18 byte)) <- ((index)) ((14 string-address) (deref)) ((16 integer)))
mem: ((16 integer)) => 1
array-len: ((1064 string) (raw))
mem: ((1064 integer) (raw)) => 30
mem: ((1066 byte) (raw)) => 3
run: integer-to-decimal-string/main 30: #\3 => ((18 byte))
mem: ((18 byte)): 1019 <= #\3
run: integer-to-decimal-string/main 31: (((19 byte-address)) <- ((index-address)) ((15 string-address) (deref)) ((17 integer)))
mem: ((17 integer)) => 0
array-len: ((1219 string) (raw))
mem: ((1219 integer) (raw)) => 2
run: integer-to-decimal-string/main 31: 1220 => ((19 byte-address))
mem: ((19 byte-address)): 1020 <= 1220
run: integer-to-decimal-string/main 32: (((19 byte-address) (deref)) <- ((copy)) ((18 byte)))
mem: ((18 byte)) => 3
run: integer-to-decimal-string/main 32: #\3 => ((19 byte-address) (deref))
mem: ((19 byte-address) (deref)): 1220 <= #\3
run: integer-to-decimal-string/main 33: (((16 integer)) <- ((subtract)) ((16 integer)) ((1 literal)))
mem: ((16 integer)) => 1
run: integer-to-decimal-string/main 33: 0 => ((16 integer))
mem: ((16 integer)): 1017 <= 0
run: integer-to-decimal-string/main 34: (((17 integer)) <- ((add)) ((17 integer)) ((1 literal)))
mem: ((17 integer)) => 0
run: integer-to-decimal-string/main 34: 1 => ((17 integer))
mem: ((17 integer)): 1018 <= 1
run: integer-to-decimal-string/main 35: (((jump)) ((-8 offset)))
run: integer-to-decimal-string/main 28: (((9 boolean)) <- ((less-than)) ((16 integer)) ((0 literal)))
mem: ((16 integer)) => 0
run: integer-to-decimal-string/main 28: nil => ((9 boolean))
mem: ((9 boolean)): 1010 <= nil
run: integer-to-decimal-string/main 29: (((jump-if)) ((9 boolean)) ((6 offset)))
mem: ((9 boolean)) => nil
run: integer-to-decimal-string/main 30: (((18 byte)) <- ((index)) ((14 string-address) (deref)) ((16 integer)))
mem: ((16 integer)) => 0
array-len: ((1064 string) (raw))
mem: ((1064 integer) (raw)) => 30
mem: ((1065 byte) (raw)) => 4
run: integer-to-decimal-string/main 30: #\4 => ((18 byte))
mem: ((18 byte)): 1019 <= #\4
run: integer-to-decimal-string/main 31: (((19 byte-address)) <- ((index-address)) ((15 string-address) (deref)) ((17 integer)))
mem: ((17 integer)) => 1
array-len: ((1219 string) (raw))
mem: ((1219 integer) (raw)) => 2
run: integer-to-decimal-string/main 31: 1221 => ((19 byte-address))
mem: ((19 byte-address)): 1020 <= 1221
run: integer-to-decimal-string/main 32: (((19 byte-address) (deref)) <- ((copy)) ((18 byte)))
mem: ((18 byte)) => 4
run: integer-to-decimal-string/main 32: #\4 => ((19 byte-address) (deref))
mem: ((19 byte-address) (deref)): 1221 <= #\4
run: integer-to-decimal-string/main 33: (((16 integer)) <- ((subtract)) ((16 integer)) ((1 literal)))
mem: ((16 integer)) => 0
run: integer-to-decimal-string/main 33: -1 => ((16 integer))
mem: ((16 integer)): 1017 <= -1
run: integer-to-decimal-string/main 34: (((17 integer)) <- ((add)) ((17 integer)) ((1 literal)))
mem: ((17 integer)) => 1
run: integer-to-decimal-string/main 34: 2 => ((17 integer))
mem: ((17 integer)): 1018 <= 2
run: integer-to-decimal-string/main 35: (((jump)) ((-8 offset)))
run: integer-to-decimal-string/main 28: (((9 boolean)) <- ((less-than)) ((16 integer)) ((0 literal)))
mem: ((16 integer)) => -1
run: integer-to-decimal-string/main 28: t => ((9 boolean))
mem: ((9 boolean)): 1010 <= t
run: integer-to-decimal-string/main 29: (((jump-if)) ((9 boolean)) ((6 offset)))
mem: ((9 boolean)) => t
run: integer-to-decimal-string/main 36: (((reply)) ((15 string-address)))
mem: ((15 string-address)) => 1219
run: main 0: 1219 => ((1 string-address) (raw))
mem: ((1 string-address) (raw)): 1 <= 1219
schedule: done with routine nil