• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2011.09/share/doc/arm-arm-none-eabi/html/gcc/
1<html lang="en">
2<head>
3<title>M68hc1x Options - Using the GNU Compiler Collection (GCC)</title>
4<meta http-equiv="Content-Type" content="text/html">
5<meta name="description" content="Using the GNU Compiler Collection (GCC)">
6<meta name="generator" content="makeinfo 4.13">
7<link title="Top" rel="start" href="index.html#Top">
8<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options">
9<link rel="prev" href="M680x0-Options.html#M680x0-Options" title="M680x0 Options">
10<link rel="next" href="MCore-Options.html#MCore-Options" title="MCore Options">
11<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
12<!--
13Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997,
141998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
152010 Free Software Foundation, Inc.
16
17Permission is granted to copy, distribute and/or modify this document
18under the terms of the GNU Free Documentation License, Version 1.3 or
19any later version published by the Free Software Foundation; with the
20Invariant Sections being ``Funding Free Software'', the Front-Cover
21Texts being (a) (see below), and with the Back-Cover Texts being (b)
22(see below).  A copy of the license is included in the section entitled
23``GNU Free Documentation License''.
24
25(a) The FSF's Front-Cover Text is:
26
27     A GNU Manual
28
29(b) The FSF's Back-Cover Text is:
30
31     You have freedom to copy and modify this GNU Manual, like GNU
32     software.  Copies published by the Free Software Foundation raise
33     funds for GNU development.-->
34<meta http-equiv="Content-Style-Type" content="text/css">
35<style type="text/css"><!--
36  pre.display { font-family:inherit }
37  pre.format  { font-family:inherit }
38  pre.smalldisplay { font-family:inherit; font-size:smaller }
39  pre.smallformat  { font-family:inherit; font-size:smaller }
40  pre.smallexample { font-size:smaller }
41  pre.smalllisp    { font-size:smaller }
42  span.sc    { font-variant:small-caps }
43  span.roman { font-family:serif; font-weight:normal; } 
44  span.sansserif { font-family:sans-serif; font-weight:normal; } 
45--></style>
46<link rel="stylesheet" type="text/css" href="../cs.css">
47</head>
48<body>
49<div class="node">
50<a name="M68hc1x-Options"></a>
51<p>
52Next:&nbsp;<a rel="next" accesskey="n" href="MCore-Options.html#MCore-Options">MCore Options</a>,
53Previous:&nbsp;<a rel="previous" accesskey="p" href="M680x0-Options.html#M680x0-Options">M680x0 Options</a>,
54Up:&nbsp;<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a>
55<hr>
56</div>
57
58<h4 class="subsection">3.17.23 M68hc1x Options</h4>
59
60<p><a name="index-M68hc1x-options-1544"></a>
61These are the &lsquo;<samp><span class="samp">-m</span></samp>&rsquo; options defined for the 68hc11 and 68hc12
62microcontrollers.  The default values for these options depends on
63which style of microcontroller was selected when the compiler was configured;
64the defaults for the most common choices are given below.
65
66     <dl>
67<dt><code>-m6811</code><dt><code>-m68hc11</code><dd><a name="index-m6811-1545"></a><a name="index-m68hc11-1546"></a>Generate output for a 68HC11.  This is the default
68when the compiler is configured for 68HC11-based systems.
69
70     <br><dt><code>-m6812</code><dt><code>-m68hc12</code><dd><a name="index-m6812-1547"></a><a name="index-m68hc12-1548"></a>Generate output for a 68HC12.  This is the default
71when the compiler is configured for 68HC12-based systems.
72
73     <br><dt><code>-m68S12</code><dt><code>-m68hcs12</code><dd><a name="index-m68S12-1549"></a><a name="index-m68hcs12-1550"></a>Generate output for a 68HCS12.
74
75     <br><dt><code>-mauto-incdec</code><dd><a name="index-mauto_002dincdec-1551"></a>Enable the use of 68HC12 pre and post auto-increment and auto-decrement
76addressing modes.
77
78     <br><dt><code>-minmax</code><dt><code>-mnominmax</code><dd><a name="index-minmax-1552"></a><a name="index-mnominmax-1553"></a>Enable the use of 68HC12 min and max instructions.
79
80     <br><dt><code>-mlong-calls</code><dt><code>-mno-long-calls</code><dd><a name="index-mlong_002dcalls-1554"></a><a name="index-mno_002dlong_002dcalls-1555"></a>Treat all calls as being far away (near).  If calls are assumed to be
81far away, the compiler will use the <code>call</code> instruction to
82call a function and the <code>rtc</code> instruction for returning.
83
84     <br><dt><code>-mshort</code><dd><a name="index-mshort-1556"></a>Consider type <code>int</code> to be 16 bits wide, like <code>short int</code>.
85
86     <br><dt><code>-msoft-reg-count=</code><var>count</var><dd><a name="index-msoft_002dreg_002dcount-1557"></a>Specify the number of pseudo-soft registers which are used for the
87code generation.  The maximum number is 32.  Using more pseudo-soft
88register may or may not result in better code depending on the program. 
89The default is 4 for 68HC11 and 2 for 68HC12.
90
91 </dl>
92
93 </body></html>
94
95