-
Notifications
You must be signed in to change notification settings - Fork 0
/
hello_world.map
360 lines (350 loc) · 12.1 KB
/
hello_world.map
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
354
355
356
357
358
359
360
Modules linked:
'hello_world' from 'hello_world.obj'
'vprintf' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'crt0' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'print_format' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'bp' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'putchar' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'gptrget' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'gptrput' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
'strlen' from 'C:\CrossIDE\Call51\Bin\..\lib\small\libc51.lib'
Memory use per module linked:
C:00105 D:000 I:000 B:000 X:00000 - hello_world
C:00054 D:001 I:000 B:000 X:00000 - vprintf
C:00113 D:000 I:000 B:000 X:00000 - crt0
C:01579 D:021 I:006 B:014 X:00000 - print_format
C:00000 D:001 I:000 B:000 X:00000 - bp
C:00021 D:000 I:000 B:000 X:00000 - putchar
C:00028 D:000 I:000 B:000 X:00000 - gptrget
C:00025 D:001 I:000 B:000 X:00000 - gptrput
C:00040 D:000 I:000 B:000 X:00000 - strlen
C:00004 D:000 I:000 B:000 X:00000 - ABSOLUTE
------------------------------------------------------
C:01969 D:024 I:006 B:014 X:00000 - Totals
INTERMAL RAM map (see legend below):
00: 0 0 0 0 0 0 0 0 a b c c c c c c
10: c c c c c c c c c c c c c c c d
20: B B e e e e e e . . . . . . . .
30: . . . . . . . . . . . . . . . .
40: . . . . . . . . . . . . . . . .
50: . . . . . . . . . . . . . . . .
60: . . . . . . . . . . . . . . . .
70: . . . . . . . . . . . . . . . .
80: . . . . . . . . . . . . . . . .
90: . . . . . . . . . . . . . . . .
A0: . . . . . . . . . . . . . . . .
B0: . . . . . . . . . . . . . . . .
C0: . . . . . . . . . . . . . . . .
D0: . . . . . . . . . . . . . . . .
E0: . . . . . . . . . . . . . . . .
F0: . . . . . . . . . . . . . . . .
Legend:
0: Register bank 0
1: Register bank 1
2: Register bank 2
3: Register bank 3
B: bits (see 'BIT map' below)
a: bp:R_DSEG
b: vprintf:R_DSEG
c: ?lib?dseg?1
d: R_OSEG
e: R_ISEG
BIT map:
00: U U U U U U U U U U U U U U . .
10: . . . . . . . . . . . . . . . .
20: . . . . . . . . . . . . . . . .
30: . . . . . . . . . . . . . . . .
40: . . . . . . . . . . . . . . . .
50: . . . . . . . . . . . . . . . .
60: . . . . . . . . . . . . . . . .
70: . . . . . . . . . . . . . . . .
CODE usage map:
0000: 256 256 256 256 256 256 256 177 000 000 000 000 000 000 000 000
1000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
3000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
4000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
5000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
6000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
7000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
8000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
9000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
A000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
B000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
C000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
D000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
E000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
F000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
Total: 1969 bytes
XDATA usage map:
0000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
1000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
2000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
3000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
4000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
5000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
6000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
7000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
8000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
9000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
A000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
B000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
C000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
D000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
E000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
F000: 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000 000
Total: 0 bytes
Base Segments:
?lib?dseg?1=D:000A, size=0015
BIT_BANK=D:0000, size=0000
R_BSEG=B:0000, size=000E
R_CONST=C:0074, size=001B
R_CSEG=C:0090, size=0721
R_DINIT=C:008F, size=0000
R_DSEG=D:0000, size=0002
R_GSINIT=C:0003, size=0071
R_HOME=C:0000, size=0000
R_ISEG=I:0022, size=0006
R_IXSEG=X:0000, size=0000
R_OSEG=D:001F, size=0001
R_PSEG=X:0000, size=0000
R_XINIT=C:0000, size=0000
R_XSEG=X:0000, size=0000
rbank0=D:0000, size=0008
Module Segments:
CSEG=C:0000, size=0004
bp:R_DSEG=D:0008, size=0001
crt0:R_GSINIT=C:0003, size=0071
gptrget:R_CSEG=C:0754, size=001C
gptrput:R_CSEG=C:0770, size=0019
gptrput:R_OSEG=D:001F, size=0001
hello_world:R_CONST=C:0074, size=0010
hello_world:R_CSEG=C:0090, size=0059
print_format:?lib?dseg?1=D:000A, size=0015
print_format:R_BSEG=B:0000, size=000E
print_format:R_CONST=C:0084, size=000B
print_format:R_CSEG=C:011F, size=0620
print_format:R_ISEG=I:0022, size=0006
putchar:R_CSEG=C:073F, size=0015
strlen:R_CSEG=C:0789, size=0028
vprintf:R_CSEG=C:00E9, size=0036
vprintf:R_DSEG=D:0009, size=0001
Public symbols:
_?lib?dseg?1_size=L:0015
_?lib?dseg?1_start=L:000A
_R_BSEG_size=L:000E
_R_BSEG_start=L:0000
_R_CONST_size=L:001B
_R_CONST_start=L:0074
_R_CSEG_size=L:0721
_R_CSEG_start=L:0090
_R_DINIT_size=L:0000
_R_DINIT_start=L:008F
_R_GSINIT_size=L:0071
_R_GSINIT_start=L:0003
_R_HOME_size=L:0000
_R_HOME_start=L:0000
_R_ISEG_size=L:0006
_R_ISEG_start=L:0000
_R_IXSEG_size=L:0000
_R_IXSEG_start=L:0000
_R_OSEG_size=L:0001
_R_OSEG_start=L:001F
_R_PSEG_size=L:0000
_R_PSEG_start=L:0000
_R_XINIT_size=L:0000
_R_XINIT_start=L:0000
_R_XSEG_size=L:0000
_R_XSEG_start=L:0000
__c51_external_startup=C:0090
__gptrget=C:0754
__gptrput=C:0770
__gptrput_PARM_2=D:001F
__print_format=C:01A8
__print_format_PARM_2=D:0018
__print_format_PARM_3=D:001B
_bp=D:0008
_bp_R_DSEG_size=L:0001
_bp_R_DSEG_start=L:0008
_crt0=C:0003
_dummy_name_crt0=C:011F
_main=C:00D3
_printf=C:00FE
_putchar=C:073F
_stack_start=L:0028
_strlen=C:0789
_vprintf=C:00EC
_vprintf_PARM_2=D:0009
_vprintf_R_DSEG_size=L:0001
_vprintf_R_DSEG_start=L:0009
Local symbols:
crt0:PClearLoop?done?=C:006C
crt0:PClearLoop?repeat?=C:005E
crt0:XClearLoop?done?=C:0054
crt0:XClearLoop?repeat?=C:0046
crt0:XInitLoop?done?=C:003C
crt0:XInitLoop?repeat?=C:001C
crt0:__c51_init_data=C:0010
crt0:__c51_program_startup=C:006F
crt0:forever?home?=C:0072
gptrget:codeptr?=C:076B
gptrget:dataptrrestore?=C:0762
gptrget:pdataptr?=C:0768
gptrget:xdataptr?=C:076E
gptrput:codeptr?=C:0783
gptrput:dataptrrestore?=C:077E
gptrput:pdataptr?=C:0784
gptrput:xdataptr?=C:0787
hello_world:L002001?=C:00A8
hello_world:__str_0=C:0074
print_format:L002003?=C:0130
print_format:L002004?=C:0138
print_format:L003004?=C:014D
print_format:L005003?=C:0176
print_format:L005004?=C:019A
print_format:L006001?=C:0202
print_format:L006003?=C:0221
print_format:L006007?=C:0247
print_format:L006010?=C:0256
print_format:L006015?=C:0263
print_format:L006017?=C:0278
print_format:L006018?=C:027A
print_format:L006020?=C:02EA
print_format:L006021?=C:02EF
print_format:L006022?=C:02F4
print_format:L006023?=C:02F9
print_format:L006024?=C:02FE
print_format:L006025?=C:0303
print_format:L006026?=C:0308
print_format:L006028?=C:031B
print_format:L006031?=C:033B
print_format:L006034?=C:032D
print_format:L006036?=C:034D
print_format:L006038?=C:035A
print_format:L006039?=C:0369
print_format:L006040?=C:0371
print_format:L006042?=C:039F
print_format:L006043?=C:03B0
print_format:L006050?=C:03BF
print_format:L006052?=C:03F8
print_format:L006053?=C:040F
print_format:L006059?=C:0421
print_format:L006061?=C:0453
print_format:L006064?=C:044B
print_format:L006067?=C:0442
print_format:L006068?=C:0455
print_format:L006070?=C:0480
print_format:L006073?=C:0488
print_format:L006074?=C:048F
print_format:L006075?=C:0494
print_format:L006076?=C:0499
print_format:L006077?=C:049E
print_format:L006078?=C:04A2
print_format:L006079?=C:04A6
print_format:L006080?=C:04AA
print_format:L006081?=C:04D4
print_format:L006082?=C:04D9
print_format:L006083?=C:0508
print_format:L006091?=C:0595
print_format:L006094?=C:0573
print_format:L006095?=C:05BF
print_format:L006097?=C:05FB
print_format:L006102?=C:05DD
print_format:L006105?=C:0605
print_format:L006108?=C:062B
print_format:L006111?=C:062D
print_format:L006113?=C:064E
print_format:L006114?=C:0650
print_format:L006115?=C:0634
print_format:L006119?=C:0667
print_format:L006120?=C:066D
print_format:L006124?=C:0684
print_format:L006129?=C:06AA
print_format:L006134?=C:0695
print_format:L006135?=C:06B9
print_format:L006136?=C:06BC
print_format:L006140?=C:06EA
print_format:L006143?=C:06DA
print_format:L006146?=C:0705
print_format:L006147?=C:070C
print_format:L006148?=C:06EF
print_format:L006150?=C:0718
print_format:L006151?=C:071E
print_format:L006158?=C:04E2
print_format:L006159?=C:053C
print_format:L006164?=C:0730
print_format:L006166?=C:01B3
print_format:L006168?=C:0738
print_format:L006171?=C:06CD
print_format:L006172?=C:06CF
print_format:L006259?=C:06ED
print_format:L006264?=C:01D5
print_format:L006265?=C:01DA
print_format:L006266?=C:01DD
print_format:L006269?=C:0226
print_format:L006279?=C:0268
print_format:L006282?=C:027F
print_format:L006283?=C:0285
print_format:L006284?=C:028B
print_format:L006285?=C:0290
print_format:L006286?=C:0295
print_format:L006287?=C:029A
print_format:L006288?=C:02A0
print_format:L006289?=C:02A6
print_format:L006290?=C:02AC
print_format:L006291?=C:02B2
print_format:L006292?=C:02B8
print_format:L006293?=C:02BE
print_format:L006294?=C:02C3
print_format:L006295?=C:02C9
print_format:L006296?=C:02CF
print_format:L006297?=C:02D5
print_format:L006298?=C:02DB
print_format:L006299?=C:02E1
print_format:L006300?=C:02E7
print_format:L006313?=C:03F0
print_format:L006314?=C:03FE
print_format:L006315?=C:0408
print_format:L006316?=C:0419
print_format:L006320?=C:0475
print_format:L006321?=C:047A
print_format:L006325?=C:0535
print_format:L006326?=C:0543
print_format:L006356?=C:071E
print_format:L006357?=C:0728
print_format:__output_char=C:011F
print_format:__print_format_sloc0_1_0=D:001C
print_format:__print_format_store_4_104=I:0022
print_format:__str_0=C:0084
print_format:_calculate_digit=C:0169
print_format:_char_argument=B:0009
print_format:_charsOutputted=D:0011
print_format:_decimals=D:0015
print_format:_e_argument=B:0002
print_format:_f_argument=B:0001
print_format:_fflag=B:000D
print_format:_g_argument=B:0003
print_format:_i=D:0017
print_format:_left_justify=B:0004
print_format:_length=D:0016
print_format:_long_argument=B:000A
print_format:_lower_case=B:0000
print_format:_lsd=B:000C
print_format:_output_2digits=C:0152
print_format:_output_char=D:000A
print_format:_output_digit=C:0139
print_format:_pound_argument=B:000B
print_format:_prefix_sign=B:0006
print_format:_prefix_space=B:0007
print_format:_radix=D:0013
print_format:_signed_argument=B:0008
print_format:_value=D:000C
print_format:_width=D:0014
print_format:_zero_padding=B:0005
putchar:L002001?=C:0744
putchar:L002006?=C:074C
putchar:L002017?=C:0749
putchar:L002018?=C:0751
strlen:L002001?=C:0793
strlen:L002003?=C:07AC
vprintf:_put_char_to_stdout=C:00E9