toolchain/share/doc/as.html/TIC54X_002dOpts.html

71 lines
3.9 KiB
HTML
Raw Normal View History

2024-01-10 05:24:32 +00:00
<html lang="en">
<head>
<title>TIC54X-Opts - Using as</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using as">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="TIC54X_002dDependent.html#TIC54X_002dDependent" title="TIC54X-Dependent">
<link rel="next" href="TIC54X_002dBlock.html#TIC54X_002dBlock" title="TIC54X-Block">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This file documents the GNU Assembler "as".
Copyright (C) 1991-2019 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, with no Front-Cover Texts, and with no
Back-Cover Texts. A copy of the license is included in the
section entitled ``GNU Free Documentation License''.
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="TIC54X-Opts"></a>
<a name="TIC54X_002dOpts"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="TIC54X_002dBlock.html#TIC54X_002dBlock">TIC54X-Block</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="TIC54X_002dDependent.html#TIC54X_002dDependent">TIC54X-Dependent</a>
<hr>
</div>
<h4 class="subsection">9.45.1 Options</h4>
<p><a name="index-options_002c-TIC54X-2198"></a><a name="index-TIC54X-options-2199"></a>The TMS320C54X version of <code>as</code> has a few machine-dependent options.
<p><a name="index-g_t_0040samp_007b_002dmfar_002dmode_007d-option_002c-far_002dmode-2200"></a><a name="index-g_t_0040samp_007b_002dmf_007d-option_002c-far_002dmode-2201"></a>You can use the &lsquo;<samp><span class="samp">-mfar-mode</span></samp>&rsquo; option to enable extended addressing mode.
All addresses will be assumed to be &gt; 16 bits, and the appropriate
relocation types will be used. This option is equivalent to using the
&lsquo;<samp><span class="samp">.far_mode</span></samp>&rsquo; directive in the assembly code. If you do not use the
&lsquo;<samp><span class="samp">-mfar-mode</span></samp>&rsquo; option, all references will be assumed to be 16 bits.
This option may be abbreviated to &lsquo;<samp><span class="samp">-mf</span></samp>&rsquo;.
<p><a name="index-g_t_0040samp_007b_002dmcpu_007d-option_002c-cpu-2202"></a>You can use the &lsquo;<samp><span class="samp">-mcpu</span></samp>&rsquo; option to specify a particular CPU.
This option is equivalent to using the &lsquo;<samp><span class="samp">.version</span></samp>&rsquo; directive in the
assembly code. For recognized CPU codes, see
See <a href="TIC54X_002dDirectives.html#TIC54X_002dDirectives"><code>.version</code></a>. The default CPU version is
&lsquo;<samp><span class="samp">542</span></samp>&rsquo;.
<p><a name="index-g_t_0040samp_007b_002dmerrors_002dto_002dfile_007d-option_002c-stderr-redirect-2203"></a><a name="index-g_t_0040samp_007b_002dme_007d-option_002c-stderr-redirect-2204"></a>You can use the &lsquo;<samp><span class="samp">-merrors-to-file</span></samp>&rsquo; option to redirect error output
to a file (this provided for those deficient environments which don't
provide adequate output redirection). This option may be abbreviated to
&lsquo;<samp><span class="samp">-me</span></samp>&rsquo;.
</body></html>