<html lang="en">
<head>
<title>M68hc1x Options - Using the GNU Compiler Collection (GCC)</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Using the GNU Compiler Collection (GCC)">
<meta name="generator" content="makeinfo 4.8">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Submodel-Options.html#Submodel-Options" title="Submodel Options">
<link rel="prev" href="M680x0-Options.html#M680x0-Options" title="M680x0 Options">
<link rel="next" href="MCore-Options.html#MCore-Options" title="MCore Options">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
1999, 2000, 2001, 2002, 2003, 2004, 2005 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.2 or
any later version published by the Free Software Foundation; with the
Invariant Sections being ``GNU General Public License'' and ``Funding
Free Software'', the Front-Cover texts being (a) (see below), and with
the Back-Cover Texts being (b) (see below).  A copy of the license is
included in the section entitled ``GNU Free Documentation License''.

(a) The FSF's Front-Cover Text is:

     A GNU Manual

(b) The FSF's Back-Cover Text is:

     You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
@import url("../raisonance.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">
<p>
<a name="M68hc1x-Options"></a>
Next:&nbsp;<a rel="next" accesskey="n" href="MCore-Options.html#MCore-Options">MCore Options</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="M680x0-Options.html#M680x0-Options">M680x0 Options</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Submodel-Options.html#Submodel-Options">Submodel Options</a>
<hr>
</div>

<h4 class="subsection">3.17.19 M68hc1x Options</h4>

<p><a name="index-M68hc1x-options-1194"></a>
These are the `<samp><span class="samp">-m</span></samp>' options defined for the 68hc11 and 68hc12
microcontrollers.  The default values for these options depends on
which style of microcontroller was selected when the compiler was configured;
the defaults for the most common choices are given below.

     <dl>
<dt><code>-m6811</code><dt><code>-m68hc11</code><dd><a name="index-m6811-1195"></a><a name="index-m68hc11-1196"></a>Generate output for a 68HC11.  This is the default
when the compiler is configured for 68HC11-based systems.

     <br><dt><code>-m6812</code><dt><code>-m68hc12</code><dd><a name="index-m6812-1197"></a><a name="index-m68hc12-1198"></a>Generate output for a 68HC12.  This is the default
when the compiler is configured for 68HC12-based systems.

     <br><dt><code>-m68S12</code><dt><code>-m68hcs12</code><dd><a name="index-m68S12-1199"></a><a name="index-m68hcs12-1200"></a>Generate output for a 68HCS12.

     <br><dt><code>-mauto-incdec</code><dd><a name="index-mauto_002dincdec-1201"></a>Enable the use of 68HC12 pre and post auto-increment and auto-decrement
addressing modes.

     <br><dt><code>-minmax</code><dt><code>-nominmax</code><dd><a name="index-minmax-1202"></a><a name="index-mnominmax-1203"></a>Enable the use of 68HC12 min and max instructions.

     <br><dt><code>-mlong-calls</code><dt><code>-mno-long-calls</code><dd><a name="index-mlong_002dcalls-1204"></a><a name="index-mno_002dlong_002dcalls-1205"></a>Treat all calls as being far away (near).  If calls are assumed to be
far away, the compiler will use the <code>call</code> instruction to
call a function and the <code>rtc</code> instruction for returning.

     <br><dt><code>-mshort</code><dd><a name="index-mshort-1206"></a>Consider type <code>int</code> to be 16 bits wide, like <code>short int</code>.

     <br><dt><code>-msoft-reg-count=</code><var>count</var><dd><a name="index-msoft_002dreg_002dcount-1207"></a>Specify the number of pseudo-soft registers which are used for the
code generation.  The maximum number is 32.  Using more pseudo-soft
register may or may not result in better code depending on the program. 
The default is 4 for 68HC11 and 2 for 68HC12.

 </dl>

 </body></html>

