File: cmd.html

package info (click to toggle)
sdcc 3.8.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 99,212 kB
  • sloc: ansic: 918,594; cpp: 69,526; makefile: 56,790; sh: 29,616; asm: 12,364; perl: 12,136; yacc: 7,179; lisp: 1,672; python: 812; lex: 773; awk: 495; sed: 89
file content (241 lines) | stat: -rw-r--r-- 13,848 bytes parent folder | download
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
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-2" http-equiv="content-type">
    <title>Commands of s51</title>
  </head>
  <body style="       background-color: white;">
    <h1>Command reference of <i>&#181;Csim</i></h1>
    <!--GENERAL--> <a href="cmd_general.html">General commands and information</a>
    <ul>
      <li><a href="cmd_general.html#conf"><b>conf</b> Configuration</a> (<font color="#ff2211">changed
          in 0.5.0</font>)
        <ul>
          <li><a href="cmd_general.html#conf_objects"><b>conf objects</b></a> (<font
              color="#ff2211">since 0.5.0</font>) </li>
        </ul>
      </li>
      <li><a href="cmd_general.html#h"><b>help,?</b> Help about commands</a> (<font
          color="#ff2211">changed in 0.2.38</font>) </li>
      <li><a href="cmd_general.html#q"><b>quit</b> Quit</a> (<font color="cmd_general.html#ff2211">changed
          in 0.2.12</font>) </li>
      <li><a href="cmd_general.html#kill"><b>kill</b> Shut down the simulator</a>
        (<font color="#ff2211">since 0.2.12</font>) </li>
      <li><a href="cmd_general.html#exec"><b>exec</b> Execute commands from file
          (<font color="#ff2211">since 0.5.0</font>) </a></li>
      <li><a href="cmd_general.html#expression"><b>expression</b> Compute value
          of an expression (<font color="#ff2211">since 0.5.0</font>) </a></li>
      <li><a href="cmd_general.html#show"><b>show</b> Show different kind of
          information</a> (<font color="#ff2211">since 0.1.3</font>) (<font color="#ff2211">changed
          in 0.2.38, 0.5.0</font>)
        <ul>
          <li><a href="cmd_general.html#show_copying"><b>show copying</b></a> </li>
          <li><a href="cmd_general.html#show_warranty"><b>show warranty</b></a>
          </li>
          <li><a href="cmd_general.html#show_option"><b>show option</b></a> (<font
              color="#ff2211">since 0.5.0</font>) </li>
          <li><a href="cmd_general.html#show_error"><b>show error</b></a> (<font
              color="#ff2211">since 0.5.0</font>) </li>
        </ul>
      </li>
      <li><a href="cmd_general.html#get"><b>get</b> Get various things</a> (<font
          color="#ff2211">since 0.2.38</font>)
        <ul>
          <li><b><a href="cmd_general.html#get_option">get option</a></b> </li>
          <li><b><a href="cmd_general.html#get_sfr">get sfr</a></b> </li>
          <li><b><a href="cmd_general.html#get_error">get error</a></b> (<font color="#ff2211">since
              0.6</font>) </li>
        </ul>
      </li>
      <li><a href="cmd_general.html#set"><b>set</b> Set various things</a> (<font
          color="#ff2211">since 0.2.38</font>)
        <ul>
          <li><a href="cmd_general.html#set_option"><b>set option</b></a> (<font
              color="#ff2211">since 0.5.0</font>) </li>
          <li><a href="cmd_general.html#set_error"><b>set error</b></a> (<font color="#ff2211">since
              0.5.0</font>) </li>
          <li><a href="cmd_general.html#set_console"><b>set console</b></a> (<font
              color="#ff2211">since 0.6</font>)</li>
          <li><a href="cmd_general.html#set_memory"><b>set memory</b></a> </li>
          <li><a href="cmd_general.html#set_bit"><b>set bit</b></a> </li>
          <li><a href="cmd_general.html#set_hardware"><b>set hardware</b></a> (<font
              color="#ff2211">set port renamed and changed in 0.5.0</font>) </li>
        </ul>
      </li>
      <li><a href="cmd_general.html#state"><b>state</b> State of simulator</a> </li>
      <li><a href="cmd_general.html#reset"><b>reset</b> Reset </a></li>
      <li><a href="cmd_general.html#info"><b>info</b> Information</a> (<font color="#ff2211">changed
          in 0.5.0</font>)
        <ul>
          <li><a href="cmd_general.html#info_breakpoints"><b>info breakpoints</b></a>
          </li>
          <li><a href="cmd_general.html#info_registers"><b>info registers</b></a>
          </li>
          <li><a href="cmd_general.html#info_hardware"><b>info hardware</b></a>
          </li>
          <li><a href="cmd_general.html#info_stack"><b>info stack</b></a> (<font
              color="#ff2211">since 0.5.0</font>) </li>
          <li><a href="cmd_general.html#info_memory"><b>info memory</b></a> (<font
              color="#ff2211">since 0.5.0</font>) </li>
          <li>info variables (<font color="#ff2211">since 0.6</font>)</li>
        </ul>
      </li>
      <li><a href="cmd_general.html#timer"><b>timer</b> Managing timers to
          measure execution time and profiling</a>
        <ul>
          <li><a href="cmd_general.html#timer_add">timer add</a> </li>
          <li><a href="cmd_general.html#timer_delete">timer delete</a> </li>
          <li><a href="cmd_general.html#timer_get">timer get</a> </li>
          <li><a href="cmd_general.html#timer_start">timer start</a> </li>
          <li><a href="cmd_general.html#timer_stop">timer stop</a> </li>
          <li><a href="cmd_general.html#timer_set">timer set</a> </li>
        </ul>
      </li>
    </ul>
    <!--MEMORY--> <a href="cmd_memory.html">Memory manipulation</a>
    <ul>
      <li><a href="cmd_memory.html#file"><b>file,load</b> Load FILE into ROM</a>
      </li>
      <li><a href="cmd_memory.html#dl"><b>download,dl</b> Download (intel hex)
          data into ROM</a> </li>
      <li><a href="cmd_memory.html#fill"><b>fill</b> Fill memory region with
          data</a> (<font color="#ff2211">since 0.2.38</font>) </li>
      <li><a href="cmd_memory.html#where"><b>where,Where</b> Search for data in
          memory</a> (<font color="#ff2211">since 0.2.38</font>) </li>
      <li><a href="cmd_memory.html#memory"><b>memory</b> Manage address spaces,
          memory chips and address decoders (<font color="#ff2211">since 0.5.0;
            changed in 0.6</font>) </a>
        <ul>
          <li>memory create</li>
          <ul>
            <li><a href="cmd_memory.html#memory_createchip">memory create chip</a>
              (<font color="#ff2211">changed in 0.6</font>)</li>
          </ul>
          <ul>
            <li><a href="cmd_memory.html#memory_createaddressspace">memory
                create addressspace</a> (<font color="#ff2211">changed in 0.6</font>)</li>
            <li><a href="cmd_memory.html#memory_createaddressdecoder">memory
                create addressdecoder</a> (<font color="#ff2211">changed in 0.6</font>)</li>
            <li>memory create banker (<font color="#ff2211">since 0.6</font>)</li>
            <li>memory create bank (<font color="#ff2211">since 0.6</font>)</li>
            <li>memory create bander (<font color="#ff2211">since 0.6</font>)</li>
          </ul>
        </ul>
        <ul>
          <li><a href="cmd_memory.html#memory_info">memory info</a> (<font color="#ff2211">since
              0.6</font>)</li>
          <li>memory cell (<font color="#ff2211">since 0.6</font>)</li>
        </ul>
        <ul>
        </ul>
        <ul>
          <ul>
          </ul>
        </ul>
      </li>
      <li>var (<font color="#ff2211">since 0.6</font>)</li>
    </ul>
    <!--EXEC--> <a href="cmd_exec.html">Execution</a>
    <ul>
      <li><a href="cmd_exec.html#run"><b>r,run,go</b> Go</a> (<font color="#ff2211">since
          0.2.20</font>) (<font color="#ff2211">changed 0.2.38</font>) </li>
      <li><a href="cmd_exec.html#stop"><b>stop</b> Stop</a> (<font color="#ff2211">since
          0.2.12</font>) </li>
      <li><a href="cmd_exec.html#step"><b>s,step</b> Step</a> (<font color="#ff2211">renamed
          from <b>s</b> in 0.2.38</font>) </li>
      <li><a href="cmd_exec.html#n"><b>n,next</b> Next</a> </li>
      <li><a href="cmd_exec.html#pc"><b>pc</b> Set/get PC</a> (<font color="#ff2211">since
          0.1.5</font>) </li>
    </ul>
    <!--BREAKPOINT--> <a href="cmd_bp.html">Breakpoints</a>
    <ul>
      <li><a href="cmd_bp.html#break"><b>break</b> Set fix breakpoint</a> (<font
          color="#ff2211">changed in 0.2.38</font>) </li>
      <li><a href="cmd_bp.html#tbreak"><b>tbreak</b> Set temporary breakpoint</a>
        (<font color="#ff2211">changed in 0.2.38</font>) </li>
      <li><a href="cmd_bp.html#clear"><b>clear</b> Clear fix breakpoint</a> </li>
      <li><a href="cmd_bp.html#delete"><b>delete</b> Delete breakpoint(s)</a> </li>
    </ul>
    <!--DUMP--> <a href="cmd_dump.html">Dump commands</a>
    <ul>
      <li><a href="cmd_dump.html#dump"><b>dump</b> Dump memory or bits</a> (<font
          color="#ff2211">since 0.2.38</font>) </li>
      <li><a href="cmd_dump.html#disassemble"><b>disassemble</b> Disassemble</a>
      </li>
      <li><a href="cmd_dump.html#dc"><b>dc</b> Dump code in disass format</a> </li>
      <li><a href="cmd_dump.html#dch"><b>dch</b> Dump code in hex format</a> </li>
      <li><a href="cmd_dump.html#di"><b>di</b> Dump Internal RAM</a> </li>
      <li><a href="cmd_dump.html#dx"><b>dx</b> Dump External RAM</a> </li>
      <li><a href="cmd_dump.html#ds"><b>ds</b> Dump SFR</a> </li>
    </ul>
    <!--REMOVED--> <a href="cmd_removed.html">Removed obsolete commands</a>
    <ul>
      <li><a href="cmd_removed.html#wi">wi,Wi</a> Search for string in Internal
        RAM (<font color="#ff2211">removed 0.2.38, use <a href="cmd_memory.html#where">where,Where</a>
          instead</font>) </li>
      <li><a href="cmd_removed.html#wx">wx,Wx</a> Search for string in External
        RAM (<font color="#ff2211">removed 0.2.38, use <a href="cmd_memory.html#where">where,Where</a>
          instead</font>) </li>
      <li><a href="cmd_removed.html#wc">wc,Wc</a> Search for string in ROM (<font
          color="#ff2211">removed 0.2.38, use <a href="cmd_memory.html#where">where,Where</a>
          instead</font>) </li>
      <li><a href="cmd_removed.html#gopt">gopt</a> Get value of option(s) (<font
          color="#ff2211">removed 0.2.38, use <a href="cmd_general.html#get_option">get
            option</a> instead</font>) </li>
      <li><a href="cmd_removed.html#sopt">sopt</a> Set value of option (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_option">set option</a> instead</font>)
      </li>
      <li><a href="cmd_removed.html#g">g Go</a> (<font color="#ff2211">changed
          0.2.12</font>) (<font color="#ff2211">removed 0.2.38, use <a href="cmd_exec.html#run">run</a>
          instead</font>) </li>
      <li>bs Set FETCH Breakpoint (<font color="#ff2211">removed 0.2.20, use <a
            href="cmd_bp.html#break">break</a> or <a href="cmd_bp.html#tbreak">tbreak</a>
          instead</font>) </li>
      <li><a href="cmd_removed.html#bse">bse</a> Set EVENT Breakpoint (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_bp.html#break">break</a> or <a href="cmd_bp.html#tbreak">tbreak</a>
          instead</font>) </li>
      <li>bd Delete FETCH Breakpoint (<font color="#ff2211">removed 0.2.20</font>,
        use <a href="cmd_bp.html#clear">clear</a> instead) </li>
      <li><a href="cmd_removed.html#bde">bde</a> Delete EVENT Breakpoint (<font
          color="#ff2211">removed 0.2.38, use <a href="cmd_bp.html#delete">delete</a>
          instead</font>) </li>
      <li><a href="cmd_removed.html#ba">ba</a> Delete all breakpoints (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_bp.html#delete">delete</a> instead</font>) </li>
      <li>bl List Breakpoints (<font color="#ff2211">removed 0.2.20, use <a href="cmd_bp.html#info">info
            breakpoints</a> instead</font>) </li>
      <li>dr Dump registers (<font color="#ff2211">removed 0.2.37</font>, use <a
          href="cmd_general.html#info_reg">info registers</a> instead) </li>
      <li><a href="cmd_removed.html#dp">dp</a> Dump ports (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_general.html#info_hw">info hardware</a>
          instead</font>) </li>
      <li><a href="cmd_removed.html#si">si</a> Set Internal RAM (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>)
      </li>
      <li><a href="cmd_removed.html#sx">sx</a> Set External RAM (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>)
      </li>
      <li><a href="cmd_removed.html#sc">sc</a> Set code (ROM) (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>)
      </li>
      <li><a href="cmd_removed.html#ss">ss</a> Set SFR area (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>)
      </li>
      <li><a href="cmd_removed.html#sb">sb</a> Set bit (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_bit">set bit</a> instead</font>)
      </li>
      <li><a href="cmd_removed.html#fi">fi</a> Fill IRAM area with data (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_memory.html#fill">fill</a> instead</font>) </li>
      <li><a href="cmd_removed.html#fx">fx</a> Fill XRAM area with data (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_memory.html#fill">fill</a> instead</font>) </li>
      <li><a href="cmd_removed.html#fs">fs</a> Fill SFR area with data (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_memory.html#fill">fill</a> instead</font>) </li>
      <li><a href="cmd_removed.html#fc">fc</a> Fill ROM area with data (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_memory.html#fill">fill</a> instead</font>) </li>
      <li><a href="cmd_removed.html#db">db</a> Dump bit (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#dump">dump</a> instead</font>) </li>
      <li><a href="cmd_removed.html#sp">sp</a> Set port pins (<font color="#ff2211">removed
          0.2.38, use <a href="cmd_set.html#set_port">set port</a> instead</font>)
      </li>
    </ul>
    <hr>
  </body>
</html>