version 0.5.2
[fw/sdcc] / sim / ucsim / doc / cmd.html
1 <html>
2 <head>
3 <title>Commands of s51</title>
4 </head>
5
6 <body bgcolor="white">
7
8 <h1>Command reference of &micro;Csim</h1>
9
10
11 <!--GENERAL-->
12
13 <a href="cmd_general.html">General commands and information</a>
14
15 <ul><li><a href="cmd_general.html#conf"><b>conf</b> Configuration</a>
16 (<font color="#ff2211">changed in 0.5.0</font>)
17
18 <ul><li><a href="cmd_general.html#conf_objects"><b>conf
19 objects</b></a> (<font color="#ff2211">since 0.5.0</font>)
20 </ul>
21
22
23 <li><a href="cmd_general.html#h"><b>help,?</b> Help about
24 commands</a> (<font color="#ff2211">changed in 0.2.38</font>)
25
26
27 <li><a href="cmd_general.html#q"><b>quit</b> Quit</a> (<font
28 color="cmd_general.html#ff2211">changed in 0.2.12</font>)
29
30
31 <li><a href="cmd_general.html#kill"><b>kill</b> Shut down the
32 simulator</a> (<font color="#ff2211">since 0.2.12</font>)
33
34
35 <li><a href="cmd_general.html#exec"><b>exec</b> Execute commands from file
36 (<font color="#ff2211">since 0.5.0</font>)
37
38
39 <li><a href="cmd_general.html#expression"><b>expression</b> Compute value
40 of an expression (<font color="#ff2211">since 0.5.0</font>)
41
42
43 <li><a href="cmd_general.html#show"><b>show</b> Show different kind of
44 information</a> (<font color="#ff2211">since 0.1.3</font>) (<font
45 color="#ff2211">changed in 0.2.38, 0.5.0</font>)
46
47 <ul><li><a href="cmd_general.html#show_copying"><b>show copying</b></a>
48
49 <li><a href="cmd_general.html#show_warranty"><b>show warranty</b></a>
50
51 <li><a href="cmd_general.html#show_option"><b>show option</b></a>
52 (<font color="#ff2211">since 0.5.0</font>)
53
54 <li><a href="cmd_general.html#show_error"><b>show error</b></a> (<font
55 color="#ff2211">since 0.5.0</font>)
56 </ul>
57
58
59 <li><a href="cmd_general.html#get"><b>get</b> Get various things</a>
60 (<font color="#ff2211">since 0.2.38</font>)
61
62 <ul><li><a href="cmd_general.html#get_option">get option</a>
63
64 <li><a href="cmd_general.html#get_sfr">get sfr</a>
65 </ul>
66
67
68 <li><a href="cmd_general.html#set"><b>set</b> Set various things</a>
69 (<font color="#ff2211">since 0.2.38</font>)
70
71 <ul><li><a href="cmd_general.html#set_option"><b>set option</b></a>
72 (<font color="#ff2211">since 0.5.0</font>)
73
74 <li><a href="cmd_general.html#set_error"><b>set error</b></a> (<font
75 color="#ff2211">since 0.5.0</font>)
76
77 <li><a href="cmd_general.html#set_memory"><b>set memory</b></a>
78
79 <li><a href="cmd_general.html#set_bit"><b>set bit</b></a>
80
81 <li><a href="cmd_general.html#set_hardware"><b>set hardware</b></a> (<font
82 color="#ff2211">set port renamed and changed in 0.5.0</font>)
83
84 </ul>
85
86
87 <li><a href="cmd_general.html#state"><b>state</b> State of
88 simulator</a>
89
90
91 <li><a href="cmd_general.html#reset"><b>reset</b> Reset
92
93
94 <li><a href="cmd_general.html#info"><b>info</b> Information</a> (<font
95 color="#ff2211">changed in 0.5.0</font>)
96
97 <ul><li><a href="cmd_general.html#info_breakpoints"><b>info
98 breakpoints</b></a>
99
100 <li><a href="cmd_general.html#info_registers"><b>info registers</b></a>
101
102 <li><a href="cmd_general.html#info_hardware"><b>info hardware</b></a>
103
104 <li><a href="cmd_general.html#info_stack"><b>info stack</b></a> (<font
105 color="#ff2211">since 0.5.0</font>)
106
107 <li><a href="cmd_general.html#info_memory"><b>info memory</b></a> (<font
108 color="#ff2211">since 0.5.0</font>)
109
110 </ul>
111
112
113 <li><a href="cmd_general.html#timer"><b>timer</b> Managing timers to
114 measure execution time and profiling</a>
115
116 <ul><li><a href="cmd_general.html#timer_add">timer add</a>
117
118 <li><a href="cmd_general.html#timer_delete">timer delete</a>
119
120 <li><a href="cmd_general.html#timer_get">timer get</a>
121
122 <li><a href="cmd_general.html#timer_start">timer start</a>
123
124 <li><a href="cmd_general.html#timer_stop">timer stop</a>
125
126 <li><a href="cmd_general.html#timer_set">timer set</a>
127
128 </ul>
129
130 </ul>
131
132
133 <!--MEMORY-->
134
135 <a href="cmd_memory.html">Memory manipulation</a>
136
137 <ul><li><a href="cmd_memory.html#file"><b>file,load</b> Load FILE into
138 ROM</a>
139
140
141 <li><a href="cmd_memory.html#dl"><b>download,dl</b> Download (intel
142 hex) data into ROM</a>
143
144
145 <li><a href="cmd_memory.html#fill"><b>fill</b> Fill memory region
146 with data</a> (<font color="#ff2211">since 0.2.38</font>)
147
148
149 <li><a href="cmd_memory.html#where"><b>where,Where</b> Search for
150 data in memory</a> (<font color="#ff2211">since 0.2.38</font>)
151
152
153 <li><a href="cmd_memory.html#memory"><b>memory</b> Manage address
154 spaces, memory chips and address decoders (<font color="#ff2211">since
155 0.5.0</font>)
156
157 <ul><li><a href="cmd_memory.html#memory_createchip">memory
158 createchip</a>
159
160 <li><a href="cmd_memory.html#memory_createaddressspace">memory
161 createaddressspace</a>
162
163 <li><a href="cmd_memory.html#memory_createaddressdecoder">memory
164 createaddressdecoder</a>
165
166 </ul>
167
168 </ul>
169
170
171 <!--EXEC-->
172
173 <a href="cmd_exec.html">Execution</a>
174
175 <ul><li><a href="cmd_exec.html#run"><b>r,run,go</b> Go</a> (<font
176 color="#ff2211">since 0.2.20</font>) (<font color="#ff2211">changed
177 0.2.38</font>)
178
179
180 <li><a href="cmd_exec.html#stop"><b>stop</b> Stop</a> (<font
181 color="#ff2211">since 0.2.12</font>)
182
183
184 <li><a href="cmd_exec.html#step"><b>s,step</b> Step</a> (<font
185 color="#ff2211">renamed from <b>s</b> in 0.2.38</font>)
186
187
188 <li><a href="cmd_exec.html#n"><b>n,next</b> Next</a>
189
190
191 <li><a href="cmd_exec.html#pc"><b>pc</b> Set/get PC</a> (<font
192 color="#ff2211">since 0.1.5</font>)
193
194 </ul>
195
196
197 <!--BREAKPOINT-->
198
199 <a href="cmd_bp.html">Breakpoints</a>
200
201 <ul><li><a href="cmd_bp.html#break"><b>break</b> Set fix
202 breakpoint</a> (<font color="#ff2211">changed in 0.2.38</font>)
203
204
205 <li><a href="cmd_bp.html#tbreak"><b>tbreak</b> Set temporary
206 breakpoint</a> (<font color="#ff2211">changed in 0.2.38</font>)
207
208
209 <li><a href="cmd_bp.html#clear"><b>clear</b> Clear fix breakpoint</a>
210
211
212 <li><a href="cmd_bp.html#delete"><b>delete</b> Delete
213 breakpoint(s)</a>
214
215 </ul>
216
217
218 <!--DUMP-->
219
220 <a href="cmd_dump.html">Dump commands</a>
221
222 <ul><li><a href="cmd_dump.html#dump"><b>dump</b> Dump memory or bits</a>
223 (<font color="#ff2211">since 0.2.38</font>)
224
225
226 <li><a href="cmd_dump.html#disassemble"><b>disassemble</b>
227 Disassemble</a>
228
229
230 <li><a href="cmd_dump.html#dc"><b>dc</b> Dump code in disass
231 format</a>
232
233
234 <li><a href="cmd_dump.html#dch"><b>dch</b> Dump code in hex format</a>
235
236
237 <li><a href="cmd_dump.html#di"><b>di</b> Dump Internal RAM</a>
238
239
240 <li><a href="cmd_dump.html#dx"><b>dx</b> Dump External RAM</a>
241
242
243 <li><a href="cmd_dump.html#ds"><b>ds</b> Dump SFR</a>
244
245 </ul>
246
247
248 <!--REMOVED-->
249
250 <a href="cmd_removed.html">Removed obsolet commands</a>
251
252 <ul><li><a href="cmd_removed.html#wi">wi,Wi</a> Search for string in
253 Internal RAM (<font color="#ff2211">removed 0.2.38, use <a
254 href="cmd_memory.html#where">where,Where</a> instead</font>)
255
256 <li><a href="cmd_removed.html#wx">wx,Wx</a> Search for string in
257 External RAM (<font color="#ff2211">removed 0.2.38, use <a
258 href="cmd_memory.html#where">where,Where</a> instead</font>)
259
260 <li><a href="cmd_removed.html#wc">wc,Wc</a> Search for string in ROM
261 (<font color="#ff2211">removed 0.2.38, use <a
262 href="cmd_memory.html#where">where,Where</a> instead</font>)
263
264 <li><a href="cmd_removed.html#gopt">gopt</a> Get value of option(s)
265 (<font color="#ff2211">removed 0.2.38, use <a
266 href="cmd_general.html#get_option">get option</a> instead</font>)
267
268 <li><a href="cmd_removed.html#sopt">sopt</a> Set value of option
269 (<font color="#ff2211">removed 0.2.38, use <a
270 href="cmd_set.html#set_option">set option</a> instead</font>)
271
272 <li><a href="cmd_removed.html#g">g Go</a> (<font
273 color="#ff2211">changed 0.2.12</font>) (<font color="#ff2211">removed
274 0.2.38, use <a href="cmd_exec.html#run">run</a> instead</font>)
275
276 <li>bs Set FETCH Breakpoint (<font color="#ff2211">removed 0.2.20, use
277 <a href="cmd_bp.html#break">break</a> or <a
278 href="cmd_bp.html#tbreak">tbreak</a> instead</font>)
279
280 <li><a href="cmd_removed.html#bse">bse</a> Set EVENT Breakpoint (<font
281 color="#ff2211">removed 0.2.38, use <a
282 href="cmd_bp.html#break">break</a> or <a
283 href="cmd_bp.html#tbreak">tbreak</a> instead</font>)
284
285 <li>bd Delete FETCH Breakpoint (<font color="#ff2211">removed
286 0.2.20</font>, use <a href="cmd_bp.html#clear">clear</a> instead)
287
288 <li><a href="cmd_removed.html#bde">bde</a> Delete EVENT Breakpoint
289 (<font color="#ff2211">removed 0.2.38, use <a
290 href="cmd_bp.html#delete">delete</a> instead</font>)
291
292 <li><a href="cmd_removed.html#ba">ba</a> Delete all breakpoints (<font
293 color="#ff2211">removed 0.2.38, use <a
294 href="cmd_bp.html#delete">delete</a> instead</font>)
295
296 <li>bl List Breakpoints (<font color="#ff2211">removed 0.2.20, use <a
297 href="cmd_bp.html#info">info breakpoints</a> instead</font>)
298
299 <li>dr Dump registers (<font color="#ff2211">removed 0.2.37</font>,
300 use <a href="cmd_general.html#info_reg">info registers</a> instead)
301
302 <li><a href="cmd_removed.html#dp">dp</a> Dump ports (<font
303 color="#ff2211">removed 0.2.38, use <a
304 href="cmd_general.html#info_hw">info hardware</a> instead</font>)
305
306 <li><a href="cmd_removed.html#si">si</a> Set Internal RAM</a> (<font
307 color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set
308 memory</a> instead</font>)
309
310 <li><a href="cmd_removed.html#sx">sx</a> Set External RAM</a> (<font
311 color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set
312 memory</a> instead</font>)
313
314 <li><a href="cmd_removed.html#sc">sc</a> Set code (ROM)</a> (<font
315 color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set
316 memory</a> instead</font>)
317
318 <li><a href="cmd_removed.html#ss">ss</a> Set SFR area</a> (<font
319 color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set
320 memory</a> instead</font>)
321
322 <li><a href="cmd_removed.html#sb">sb</a> Set bit</a> (<font
323 color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_bit">set
324 bit</a> instead</font>)
325
326 <li><a href="cmd_removed.html#fi">fi</a> Fill IRAM area with data
327 (<font color="#ff2211">removed 0.2.38, use <a
328 href="cmd_memory.html#fill">fill</a> instead</font>)
329
330 <li><a href="cmd_removed.html#fx">fx</a> Fill XRAM area with data
331 (<font color="#ff2211">removed 0.2.38, use <a
332 href="cmd_memory.html#fill">fill</a> instead</font>)
333
334 <li><a href="cmd_removed.html#fs">fs</a> Fill SFR area with data
335 (<font color="#ff2211">removed 0.2.38, use <a
336 href="cmd_memory.html#fill">fill</a> instead</font>)
337
338 <li><a href="cmd_removed.html#fc">fc</a> Fill ROM area with data
339 (<font color="#ff2211">removed 0.2.38, use <a
340 href="cmd_memory.html#fill">fill</a> instead</font>)
341
342 <li><a href="cmd_removed.html#db">db</a> Dump bit</a> (<font
343 color="#ff2211">removed 0.2.38, use <a
344 href="cmd_set.html#dump">dump</a> instead</font>)
345
346 <li><a href="cmd_removed.html#sp">sp</a> Set port pins</a> (<font
347 color="#ff2211">removed 0.2.38, use <a
348 href="cmd_set.html#set_port">set port</a> instead</font>)
349
350 </ul>
351
352 <hr>
353
354 </body>
355 </html>