<html> <head> <title>Commands of s51</title> </head> <body bgcolor="white"> <h1>Command reference of µCsim</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>) </ul> <li><a href="cmd_general.html#h"><b>help,?</b> Help about commands</a> (<font color="#ff2211">changed in 0.2.38</font>) <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><a href="cmd_general.html#kill"><b>kill</b> Shut down the simulator</a> (<font color="#ff2211">since 0.2.12</font>) <li><a href="cmd_general.html#exec"><b>exec</b> Execute commands from file (<font color="#ff2211">since 0.5.0</font>) <li><a href="cmd_general.html#expression"><b>expression</b> Compute value of an expression (<font color="#ff2211">since 0.5.0</font>) <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><a href="cmd_general.html#show_warranty"><b>show warranty</b></a> <li><a href="cmd_general.html#show_option"><b>show option</b></a> (<font color="#ff2211">since 0.5.0</font>) <li><a href="cmd_general.html#show_error"><b>show error</b></a> (<font color="#ff2211">since 0.5.0</font>) </ul> <li><a href="cmd_general.html#get"><b>get</b> Get various things</a> (<font color="#ff2211">since 0.2.38</font>) <ul><li><a href="cmd_general.html#get_option">get option</a> <li><a href="cmd_general.html#get_sfr">get sfr</a> </ul> <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><a href="cmd_general.html#set_error"><b>set error</b></a> (<font color="#ff2211">since 0.5.0</font>) <li><a href="cmd_general.html#set_memory"><b>set memory</b></a> <li><a href="cmd_general.html#set_bit"><b>set bit</b></a> <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>) </ul> <li><a href="cmd_general.html#state"><b>state</b> State of simulator</a> <li><a href="cmd_general.html#reset"><b>reset</b> Reset <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><a href="cmd_general.html#info_registers"><b>info registers</b></a> <li><a href="cmd_general.html#info_hardware"><b>info hardware</b></a> <li><a href="cmd_general.html#info_stack"><b>info stack</b></a> (<font color="#ff2211">since 0.5.0</font>) <li><a href="cmd_general.html#info_memory"><b>info memory</b></a> (<font color="#ff2211">since 0.5.0</font>) </ul> <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><a href="cmd_general.html#timer_delete">timer delete</a> <li><a href="cmd_general.html#timer_get">timer get</a> <li><a href="cmd_general.html#timer_start">timer start</a> <li><a href="cmd_general.html#timer_stop">timer stop</a> <li><a href="cmd_general.html#timer_set">timer set</a> </ul> </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><a href="cmd_memory.html#dl"><b>download,dl</b> Download (intel hex) data into ROM</a> <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><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><a href="cmd_memory.html#memory"><b>memory</b> Manage address spaces, memory chips and address decoders (<font color="#ff2211">since 0.5.0</font>) <ul><li><a href="cmd_memory.html#memory_createchip">memory createchip</a> <li><a href="cmd_memory.html#memory_createaddressspace">memory createaddressspace</a> <li><a href="cmd_memory.html#memory_createaddressdecoder">memory createaddressdecoder</a> </ul> </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><a href="cmd_exec.html#stop"><b>stop</b> Stop</a> (<font color="#ff2211">since 0.2.12</font>) <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><a href="cmd_exec.html#n"><b>n,next</b> Next</a> <li><a href="cmd_exec.html#pc"><b>pc</b> Set/get PC</a> (<font color="#ff2211">since 0.1.5</font>) </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><a href="cmd_bp.html#tbreak"><b>tbreak</b> Set temporary breakpoint</a> (<font color="#ff2211">changed in 0.2.38</font>) <li><a href="cmd_bp.html#clear"><b>clear</b> Clear fix breakpoint</a> <li><a href="cmd_bp.html#delete"><b>delete</b> Delete breakpoint(s)</a> </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><a href="cmd_dump.html#disassemble"><b>disassemble</b> Disassemble</a> <li><a href="cmd_dump.html#dc"><b>dc</b> Dump code in disass format</a> <li><a href="cmd_dump.html#dch"><b>dch</b> Dump code in hex format</a> <li><a href="cmd_dump.html#di"><b>di</b> Dump Internal RAM</a> <li><a href="cmd_dump.html#dx"><b>dx</b> Dump External RAM</a> <li><a href="cmd_dump.html#ds"><b>ds</b> Dump SFR</a> </ul> <!--REMOVED--> <a href="cmd_removed.html">Removed obsolet 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><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><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><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><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><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>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><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>bd Delete FETCH Breakpoint (<font color="#ff2211">removed 0.2.20</font>, use <a href="cmd_bp.html#clear">clear</a> instead) <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><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>bl List Breakpoints (<font color="#ff2211">removed 0.2.20, use <a href="cmd_bp.html#info">info breakpoints</a> instead</font>) <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><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><a href="cmd_removed.html#si">si</a> Set Internal RAM</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>) <li><a href="cmd_removed.html#sx">sx</a> Set External RAM</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>) <li><a href="cmd_removed.html#sc">sc</a> Set code (ROM)</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>) <li><a href="cmd_removed.html#ss">ss</a> Set SFR area</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_mem">set memory</a> instead</font>) <li><a href="cmd_removed.html#sb">sb</a> Set bit</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_bit">set bit</a> instead</font>) <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><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><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><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><a href="cmd_removed.html#db">db</a> Dump bit</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#dump">dump</a> instead</font>) <li><a href="cmd_removed.html#sp">sp</a> Set port pins</a> (<font color="#ff2211">removed 0.2.38, use <a href="cmd_set.html#set_port">set port</a> instead</font>) </ul> <hr> </body> </html>