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

📄 intro.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="08/22/03 10:11:23">
<title>1 Introduction</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="c2isetto.htm"><img src="images/navtoc.gif" width="84" height="23"
    border="0" alt="TOC"> </a></td>
    <td><a href="preface.htm"><img src="images/navprev.gif" width="80" height="23"
    border="0" alt="PREV"> </a></td>
    <td><a href="part1.htm"><img src="images/navnext.gif" width="83" height="23"
    border="0" alt="NEXT"> </a></td>
    <td><a href="c2isetix.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>
<h1>
  <a name="1204473"> </a><font color="#003366"  face="Verdana, Arial, Helvetica, sans-serif">1	 Introduction</font>
</h1><hr>


<p>
  <a name="1204474"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">This book describes each instruction in the ST20-C2 instruction set and explains the context within which that instruction is used. It is divided into two parts: a narrative that introduces each instruction within a logical group of instructions, and a reference section that gives a code-like specification of each instruction.</font>
</p>


<p>
  <a name="1204475"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">This is a useful document to all ST20-C2 users, but it is aimed in particular at the following:</font>
</p>

<ul>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204476"> </a>high-level programmers who want to use low-level code inserts to enhance the performance of their code,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204477"> </a>compiler writers,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204478"> </a>operating system or run-time kernel writers,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204479"> </a>writers of high-level debugging tools,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204480"> </a>writers of run-time support libraries,</font></p>
<p>  <font size=2  face="Verdana, Arial, Helvetica, sans-serif"><li ><a name="1204481"> </a>writers of bootstrap code.</font></p>
</ul>

<p>
  <a name="1204848"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">High-level programmers in a language such as C might find that, either their particular compiler is limited in certain respects, or a particular piece of code is time critical, and they may need to write a low-level code sequence. Provided that the compiler/linker system they are using enables them to write instruction level sequences into their program, they can overcome such difficulties. For this, they need a good understanding of the capabilities and range of the entire instruction set.</font>
</p>


<p>
  <a name="1204483"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Compiler writers need to understand the exact action of each instruction in order to write the code generation part of a compiler.</font>
</p>


<p>
  <a name="1204484"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Writers of run-time kernels need to understand the ST20-C2's scheduling mechanism and the instructions which enable them to implement their own scheduling/interrupt scheme.</font>
</p>


<p>
  <a name="1204485"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Similarly writers of run time support libraries may need to write time critical code at assembly level.</font>
</p>


<p>
  <a name="1204486"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Writers of debugging tools need to be able to control low-level context switching (for example, for implementing breakpoints/single-step) and need to be able to access and manipulate certain registers and data structures.</font>
</p>


<p>
  <a name="1204487"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">Bootstrap code must usually be very compact code and requires some machine specific instructions which are not available in high-level programming languages. For these reasons, a bootstrap program is written at assembly code level and the writer of this program needs to be familiar with the processor's instruction set.</font>
</p>


<p>
  <a name="1204856"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif">In the narrative part of the book, issues in programming the ST20-C2 are considered subject by subject. Each subject introduces certain instructions. This provides the reader with the purpose for the instructions as they are introduced and describes any environmental issues, such as data structures and register/data-structure pre-conditions. Some of these subjects are of interest to all ST20-C2 users while some are of specific interest to certain categories of reader.</font>
</p>


<p>
  <a name="1204863"> </a><font size=2  face="Verdana, Arial, Helvetica, sans-serif"><a href="addressi.htm#1204403"><font  color="#0000ff" face="Verdana, Arial, Helvetica, sans-serif"><i>Chapter

⌨️ 快捷键说明

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