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

📄 x-arm3.html

📁 这个包包是Vxworks的编程手册!全英文的!很好很强大!希望大家喜欢!!!!
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="wrs.css"><title>    ARM   </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-arm.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-arm2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-arm4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="84477">G.3  &nbsp;&nbsp;Toolchain Information</a></i></h3></font><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84503">Assembler Pseudo Operations</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="86180"> </a><p class="table"><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86186"> </a><b class="operator">.arm</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86188"> </a>no arguments </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86190"> </a>Generate ARM (32-bit) code. </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86192"> </a><b class="operator">.thumb</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86194"> </a>no arguments </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86196"> </a>Generate Thumb (16-bit) code. </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86198"> </a><b class="operator">.code</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86200"> </a><b class="operator">16</b> or <b class="operator">32</b></p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86202"> </a>Generate 16- or 32-bit code. </p></td></tr><tr valign="top"><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86204"> </a><b class="operator">.thumb_func</b> </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86206"> </a>no arguments </p></td><td colspan=1 rowspan=1><p class="BodyLeft"><a name="86208"> </a>Flag this function as a Thumb function. </p></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p></p></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84505">Additional ARM Compiler Options</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84508"> </a>In addition to the new ARM compiler options described in <a href="x-arm2.html#84414"><i class="title">Compiling C and C++ Modules</i></a>, the following compiler options are added to the GNU compiler with Tornado for ARM:</p></dl><dl class="margin"><dd><div class="Item"><a name="84510"> </a><b class="command">-mapcs-32</b> </div><dl class="margin"><dd><div class="Indent"><a name="84511"> </a>Specifies the use of the 32-bit ARM Procedure Call Standard. This is the default. Note that <b class="command">-mapcs-26</b> is not supported.</div><br></dl><dd><div class="Item"><a name="84512"> </a><b class="command">-marm</b> </div><dl class="margin"><dd><div class="Indent"><a name="84513"> </a>Generates plain ARM code. This is the default in all current configurations; the option is supplied for symmetry.</div><br></dl><dd><div class="Item"><a name="84514"> </a><b class="command">-mthumb</b> </div><dl class="margin"><dd><div class="Indent"><a name="84515"> </a>Required to generate Thumb code. Requires an ARM CPU with Thumb support.</div><br></dl><dd><div class="Item"><a name="84516"> </a><b class="command">-mthumb-interwork</b> </div><dl class="margin"><dd><div class="Indent"><a name="84517"> </a>Required to generate Thumb code.</div><br></dl></dl></dl><dl class="margin"><dd><p class="table" callout><table border="0" cellpadding="0" cellspacing="0"><tr valign="top"><td valign="top" width="40"><br><img border="0" alt="*" src="icons/caution.gif"></td><td><hr><div class="CalloutCell"><a name="84522"><b class="symbol_UC"><font face="Helvetica, sans-serif" size="-1" class="sans">CAUTION:  </font></b></a>The <b class="command">-mthumb-interwork</b> option is required to compile code for Thumb state in this release. Although you must use this option in order to use Thumb state, ARM interworking (switching between ARM and Thumb modes in the same application, running ARM code under the Thumb kernel, or running Thumb code under the ARM kernel) is not supported for this release.</div></td></tr><tr valign="top"><td></td><td><hr></td></tr><tr valign="middle"><td colspan="20"></td></tr></table></p callout><dl class="margin"><dd><div class="Item"><a name="84527"> </a><b class="command">-mapcs-frame</b>  <br><b class="command">-mapcs-leaf-frame</b> </div><dl class="margin"><dd><div class="Indent"><a name="84528"> </a>Creates a "stack backtrace" structure for non-leaf and leaf functions respectively. Applies when ARM code is generated. These are the default for ARM state and are automatically disabled when <b class="command">-mthumb</b> is active. </div><br></dl><dd><div class="Item"><a name="84529"> </a><b class="command">-mtpcs-frame</b>  <br><b class="command">-mtpcs-leaf-frame</b> </div><dl class="margin"><dd><div class="Indent"><a name="84530"> </a>Create a "stack backtrace" structure for non-leaf and leaf functions respectively. Analogous to <b class="command">-mapcs-frame</b> and <b class="command">-mapcs-leaf-frame</b> but apply when <b class="command">-mthumb</b> is active. </div><br></dl></dl></dl><font face="Helvetica, sans-serif" class="sans"><h4 class="H4"><i><a name="84531">CrossWind and GDB</a></i></h4></font><dl class="margin"><dl class="margin"><dd><p class="Body"><a name="84532"> </a>CrossWind for Tornado for ARM is based on GDB 4.16. The following new debugger commands are implemented: </p></dl><dl class="margin"><dd><div class="Item"><a name="84533"> </a><b class="command">VxWorks-timeout </b><i class="textVariable">args</i> </div><dl class="margin"><dd><div class="Indent"><a name="84534"> </a>All VxWorks-based targets now support the option <b class="command">vxworks-timeout</b>. <i class="textVariable">args</i> represents the number of seconds the debugger waits for responses to RPCs. </div><br></dl><dd><div class="Item"><a name="84535"> </a><b class="command">complete </b><i class="textVariable">arg</i> </div><dl class="margin"><dd><div class="Indent"><a name="84536"> </a>List possible completions for <i class="textVariable">arg</i>. </div><br></dl><dd><div class="Item"><a name="84537"> </a><b class="command">hbreak</b> </div><dl class="margin"><dd><div class="Indent"><a name="84538"> </a>Set a hardware-assisted breakpoint (if applicable). </div><br></dl><dd><div class="Item"><a name="84539"> </a><b class="command">set print static-members </b>[<b class="command"> on,off </b>] </div><dl class="margin"><dd><div class="Indent"><a name="84540"> </a>Print static members when displaying a C++ object. The default is <b class="command">on</b>. </div><br></dl><dd><div class="Item"><a name="84541"> </a><b class="command">show input-radix</b> </div><dl class="margin"><dd><div class="Indent"><a name="84542"> </a>Display the current default base for numeric entry. </div><br></dl><dd><div class="Item"><a name="84543"> </a><b class="command">show output-radix</b> </div><dl class="margin"><dd><div class="Indent"><a name="84544"> </a>Display the current default base for numeric display. </div><br></dl><dd><div class="Item"><a name="84545"> </a><b class="command">set output-radix</b> <i class="textVariable">base</i> </div><dl class="margin"><dd><div class="Indent"><a name="84546"> </a>Set the default base for numeric display. Supported choices for <i class="textVariable">base</i> are decimal 8, 10, or 16. <i class="textVariable">base</i> must itself be specified either unambiguously or using the current default radix. </div><br></dl></dl><dl class="margin"><dd><p class="Body"><a name="84547"> </a>Commands whose functionality has changed in this release are as follows: </p></dl><dl class="margin"><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84548"> </a>The <b class="command">watch</b> command has been greatly expanded with regard to hardware watchpoints (on applicable systems). New related commands include: </li></ul></p><dl class="margin"><dd><div class="Item2"><a name="84549"> </a><b class="command">rwatch</b> <i class="textVariable">args</i> </div><dl class="margin"><dd><div class="Indent2"><a name="84550"> </a>Set a watchpoint that breaks when watch <i class="textVariable">args</i> is read. </div><br></dl><dd><div class="Item2"><a name="84551"> </a><b class="command">awatch</b> <i class="textVariable">args</i> </div><dl class="margin"><dd><div class="Indent2"><a name="84552"> </a>Set watchpoint that breaks when watch <i class="textVariable">args</i> is read or written. </div><br></dl></dl><dl class="margin"><dd><div class="Indent"><a name="84553"> </a>For more information on the <b class="command">watch</b> command, see <i class="title">Debugging With GDB</i>. </div><br></dl><p class="listspace"><ul class="Bullet" type="disc"><li><a name="84554"> </a>The <b class="command">step</b> command no longer steps into functions that contain no debugging information. Use the <b class="command">stepi</b> command to enter functions with no debugging symbols. </li></ul></p><dl class="margin"><dd><div class="Indent"><a name="84555"> </a>Additionally, <b class="command">step</b> only enters a subroutine if line number information exists; otherwise, it acts like <b class="command">next</b>. </div><br></dl></dl></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="icons/contents.gif"></a><a href="GuideIX.html"><img border="0" alt="[Index]" src="icons/index.gif"></a><a href="x-arm.html"><img border="0" alt="[Top]" src="icons/top.gif"></a><a href="x-arm2.html"><img border="0" alt="[Prev]" src="icons/prev.gif"></a><a href="x-arm4.html"><img border="0" alt="[Next]" src="icons/next.gif"></a></p></body></html><!---by WRS Documentation (), Wind River Systems, Inc.    conversion tool:  Quadralay WebWorks Publisher 4.0.11    template:         CSS Template, Jan 1998 - Jefro --->

⌨️ 快捷键说明

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