version 0.5.2
[fw/sdcc] / sim / ucsim / doc / cmd_set.html
index e062d772f25d8e5ca77e5367b808dbd25e7e5fb0..fa96645a7dd0017572f7832dadbef4a2aeb278c5 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 <head>
-<title>Set commands of uCsim</title>
+<title>Set commands of &micro;Csim</title>
 </head>
 
 <body bgcolor="white">
@@ -27,175 +27,6 @@ number parameters if needed. Only space characters separate data
 parameters while normaly comma (<tt>,</tt>) and semicolon (<tt>;</tt>)
 are interpreted as separator characters too.
 
-<a name="si"><h3>si addr data...</h3></a>
-
-Write data into internal RAM area. First parameter specifies start
-address of memory area to set and other parameters are data to set.
-
-<pre>
-$ <font color="#118811">s51</font>
-ucsim 0.2.12, Copyright (C) 1997 Daniel Drotos, Talker Bt.
-ucsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-This is free software, and you are welcome to redistribute it
-under certain conditions; type `show c' for details.
-> <font color="#118811">si 10 dani\040hej-ho</font>
-00000a 64 61 6e 69 20 68 65 6a 2d 68 6f                dani hej-ho
-> </pre>
-
-Result of the command is a memory dump of area which has been modified
-by the command. If there is syntax error in a data parameter then
-remaining parameters are dropped out.
-
-<pre>
-> <font color="#118811">si 20 1 2 0xi 3 4</font>
-Bad data 0xi
-000014 01 02                                           ..
-> </pre>
-
-
-<a name="sx"><h3>sx addr data...</h3></a>
-
-This command is similar to <a href="#si"><b>si</b></a> command
-described above but it is used to modify external RAM.
-
-
-<a name="sc"><h3>sc addr data...</h3></a>
-
-This command is similar to <a href="#si"><b>si</b></a> command
-described above but it is used to modify code memory area (ROM).
-
-
-<a name="ss"><h3>ss addr data...</h3></a>
-
-This command is similar to <a href="#si"><b>si</b></a> command
-described above but it is used to modify SFR. Other difference is that
-first parameter (<b>start</b> address) can be specified by name of SFR
-not by address only.
-
-<pre>
-$ <font color="#118811">s51</font>
-ucsim 0.2.12, Copyright (C) 1997 Daniel Drotos, Talker Bt.
-ucsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-This is free software, and you are welcome to redistribute it
-under certain conditions; type `show c' for details.
-> <font color="#118811">ss p1 0</font>
-000090 00                                              .
-> </pre>
-
-
-<a name="sb"><h3>sb addr data...</h3></a>
-
-Modify bit(s). First parameter is address of first bit to modify. See
-description of <a href="#db"><b>db</b></a> command how bit address can
-be specified. If first character of data parameter is <tt>0</tt> it
-means <i>zero</i> otherwise it means <i>one</i>.
-
-<pre>
-$ <font color="#118811">s51</font>
-ucsim 0.2.12, Copyright (C) 1997 Daniel Drotos, Talker Bt.
-ucsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-This is free software, and you are welcome to redistribute it
-under certain conditions; type `show c' for details.
-> <font color="#118811">sb 0x23.5 1</font>
-> <font color="#118811">db 0x23.5</font>
-000023   23.5 1
-> <font color="#118811">sb p3.3 0</font>
-> <font color="#118811">dp</font>
-P0    11111111 0xff 255 .    P1    11111111 0xff 255 .
-Pin0  11111111 0xff 255 .    Pin1  11111111 0xff 255 .
-Port0 11111111 0xff 255 .    Port1 11111111 0xff 255 .
-
-P2    11111111 0xff 255 .    P3    11110111 0xf7 247 .
-Pin2  11111111 0xff 255 .    Pin3  11111111 0xff 255 .
-Port2 11111111 0xff 255 .    Port3 11110111 0xf7 247 .
-> <font color="#118811">sb tr1 0</font>
-> <font color="#118811">db tr1</font>
-000088    TR1 0
-> <font color="#118811">sb tr1 1</font>
-> <font color="#118811">db tr1</font>
-000088    TR1 1
-> </pre>
-
-
-<a name="sp"><h3>sp port data</h3></a>
-
-This command can be used to sep up output values of external circuits
-connected to port pins. If a port bit is used as output to drive
-external circuits, do not set corresponding pin bit to zero because
-read back value of the port can be false. First parameter must be
-number of the port between 0 and 3.
-
-<pre>
-$ <font color="#118811">s51</font>
-ucsim 0.2.12, Copyright (C) 1997 Daniel Drotos, Talker Bt.
-ucsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-This is free software, and you are welcome to redistribute it
-under certain conditions; type `show c' for details.
-> <font color="#118811">dp</font>
-P0    11111111 0xff 255 .    P1    11111111 0xff 255 .
-Pin0  11111111 0xff 255 .    Pin1  11111111 0xff 255 .
-Port0 11111111 0xff 255 .    Port1 11111111 0xff 255 .
-
-P2    11111111 0xff 255 .    P3    11111111 0xff 255 .
-Pin2  11111111 0xff 255 .    Pin3  11111111 0xff 255 .
-Port2 11111111 0xff 255 .    Port3 11111111 0xff 255 .
-> <font color="#118811">ss p1 0x55</font>
-000090 55                                              U
-> <font color="#118811">sp 1 0x0f</font>
-> <font color="#118811">dp</font>
-P0    11111111 0xff 255 .    P1    01010101 0x55  85 U
-Pin0  11111111 0xff 255 .    Pin1  00001111 0x0f  15 .
-Port0 11111111 0xff 255 .    Port1 00000101 0x05   5 .
-
-P2    11111111 0xff 255 .    P3    11111111 0xff 255 .
-Pin2  11111111 0xff 255 .    Pin3  11111111 0xff 255 .
-Port2 11111111 0xff 255 .    Port3 11111111 0xff 255 .
-> </pre>
-
-
-<a name="fi"><h3>fi start stop data</h3></a>
-
-Fill command. It can be used to fill up an area of internal RAM with a
-specified data.
-
-<pre>
-$ <font color="#118811">s51</font>
-ucsim 0.2.12, Copyright (C) 1997 Daniel Drotos, Talker Bt.
-ucsim comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
-This is free software, and you are welcome to redistribute it
-under certain conditions; type `show c' for details.
-> <font color="#118811">fi 11 0x34 44</font>
-> <font color="#118811">di</font>
-000000 00 00 00 00 00 00 00 00 ........
-000008 00 00 00 2c 2c 2c 2c 2c ...,,,,,
-000010 2c 2c 2c 2c 2c 2c 2c 2c ,,,,,,,,
-000018 2c 2c 2c 2c 2c 2c 2c 2c ,,,,,,,,
-000020 2c 2c 2c 2c 2c 2c 2c 2c ,,,,,,,,
-000028 2c 2c 2c 2c 2c 2c 2c 2c ,,,,,,,,
-000030 2c 2c 2c 2c 2c 00 00 00 ,,,,,...
-000038 00 00 00 00 00 00 00 00 ........
-000040 00 00 00 00 00 00 00 00 ........
-000048 00 00 00 00 00 00 00 00 ........
-> </pre>
-
-
-<a name="fx"><h3>fx start stop data</h3></a>
-
-Fill command. It works similar to <a href="#fi"><b>fi</b></a> but it
-puts data into external RAM instead of internal RAM.
-
-
-<a name="fs"><h3>fs start stop data</h3></a>
-
-Fill command. It works similar to <a href="#fi"><b>fi</b></a> but it
-puts data into SFR instead of internal RAM.
-
-
-<a name="fc"><h3>fc start stop data</h3></a>
-
-Fill command. It works similar to <a href="#fi"><b>fi</b></a> but it
-puts data into code memory (ROM) instead of internal RAM.
-
 
 <hr>