⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 overvie4.htm

📁 ST20 Embedded Toolset R2.0.5用于开发基于ST20芯片机顶盒软件的开发平台,2.0.5版本,国内找不到的.在国外论坛上花了N天才找到!
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.5">
<meta name="TEMPLATEBASE" content="book_html">
<meta name="LASTUPDATED" content="12/04/03 13:39:22">
<title>1.3 Command language</title>

<STYLE TYPE="text/css">
<!--
	span.Signal { text-transform: uppercase; font-family: Verdana }
-->
</STYLE>

</head>

<body link="#3366CC" vlink="#9999CC" text="#000000" alink="#0000CC" bgcolor="#FFFFFF"
background="images/backgrnd.gif">

<p><img src="images/stlogo.gif" width="106" height="83" align="left"
alt="logo here!"> </p>

<table width="331" border="0" align="right" cellpadding="0" cellspacing="0">
  <tr>
    <td><a href="a_userto.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"> </a></td>
    <td><a href="overvie3.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"> </a></td>
    <td><a href="overvie5.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"> </a></td>
    <td><a href="a_userix.htm"><img src="images/navidx.gif" width="84" height="23"
    border="0" alt="INDEX"> </a></td>
  </tr>
</table>

<p><br clear="all">
</p>

<hr align="left">

<blockquote>
<h2>
  <a name="1210098"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">1.3 	 Command language</font>
</h2><hr>


<p>
  <a name="1210099"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">A common command language is supported by the tools <strong>st20cc</strong>, <strong>st20run</strong>, <strong>st20sim</strong>, <strong>st20libr</strong> and <strong>stemi</strong>. Each of these tools uses a subset of the command language and certain key commands are recognized and used by more than one tool. The command language is described in the <em>ST20 Embedded Toolset Reference Manual</em>.</font>
</p>


<p>
  <a name="1210103"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Commands may be submitted to a tool:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1210104"> </a>indirectly via a command file, that is, a text file containing a list of commands and optional comments, or,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1210105"> </a>in the case of the <strong>st20run</strong> debugging interface, interactively at the command line or via the debugging graphical interface.</font></p>
</ul>

<p>
  <a name="1210106"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">In general, if a command is submitted which a particular tool does not use then the tool ignores the command and proceeds.</font>
</p>


<p>
  <a name="1210109"> </a><font size=2 face="Verdana, Arial, Helvetica, sans-serif"><em>Note:	 Any exceptions to this are documented on a command basis in the <em>ST20 Embedded Toolset Reference Manual</em>.</em></font>
</p>

<p>
  <a name="1210111"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Command files may be specified on a tool command line by specifying the appropriate command line option; they may also be nested within other command files by using the <font size=2 face=Courier><strong>include</strong></font> command.</font>
</p>


<p>
  <a name="1210112"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">The command language supports different types of commands, including:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1210113"> </a>file access (for example to include a named file),</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1210114"> </a>system definition (for example to define the target),</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1210115"> </a>system configuration (for example to allocate memory regions),</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1210116"> </a>action commands (for example to initialize a memory location or set a breakpoint).</font></p>
</ul>

<p>
  <a name="1210118"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">The term target is used to describe either the hardware or simulator that runs the application, or a definition of the hardware or simulator, including the processor type and memory.</font>
</p>


<h3>
  <a name="1210121"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">1.3.1 	 Command procedures</font>
</h3>


<p>
  <a name="1210122"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">It is very useful to group commands which perform a particular task into a command procedure, which may then be called as required. Command procedures are similar to C functions. Each procedure is given a name and executes one or more commands.</font>
</p>


<p>
  <a name="1210123"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Procedures have the following format:</font>
</p>


<a name="1210124"> </a><font size=2 face=Courier><strong>proc procedure_name {<br>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -