[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.17.2 M68hc1x Options

These are the `-m' 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.

-m6811
-m68hc11
Generate output for a 68HC11. This is the default when the compiler is configured for 68HC11-based systems.

-m6812
-m68hc12
Generate output for a 68HC12. This is the default when the compiler is configured for 68HC12-based systems.

-mauto-incdec
Enable the use of 68HC12 pre and post auto-increment and auto-decrement addressing modes.

-mshort
Consider type int to be 16 bits wide, like short int.

-msoft-reg-count=count
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.



This document was generated by Vincent Chung on June, 26 2001 using texi2html