Sets preprocessor symbols, which can be checked with
#if, #ifdef and #ifndef. The defined names are
copied exactly as they are entered (case-sensitive). Optionally,
each name can be assigned a value. The following entry Check,
NoExtRam, X1=1+5 is identical to the C preprocessor #define
statements:
#define Check
#define NoExtRam
#define X1 1+5
Undefine
Undefine clears previous Define
assignments entered in this dialog for a parent item (target or
group).
Enables application register optimization. When set,
the C51 Compiler knows the registers used by external functions,
and µVision performs automatically an iterative re-translation of C
source files to improve register allocation.
Instructs the Compiler to include information in the
object file for the linker-level program optimizations. When
enabled, the LX51 linker/locater performs this optimizations.
Disables absolute register addressing for registers
R0 through R7 and allows function calls across
register banks. The code will be slightly longer, because the C
compiler cannot use ARx symbols, for example in
PUSH or POP instructions, and has to insert
replacement code. However, the code will be independent of the
selected register bank.
Determines the number of bits to be rounded before a
floating-point compare is executed. The default value
3 specifies that the three least significant bits of a float
value are rounded before the floating-point compare is
executed.
Promotes expressions of smaller types to integer
expressions before the operation is performed. By default, integer
promotion is enabled to provide the greatest compatibility between
Cx51 and other ANSI compilers.
Allows supplying paths (separated by semi-colon) to
search for header files. For #include "filename.h", the
Compiler searches the current folder first and afterwards the
folder of the source file. When these searches fail or when
#include <filename.h> is used, the paths specified in
this field are searched. When this search fails again, the paths
specified in the field INC of the dialog Project - Components, Environment, Books
... are used.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.