Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 User Manual

Product codes
SW006021-1
Page of 518
XC8 Command-line Driver
 2012 Microchip Technology Inc.
DS52053B-page 105
• The options following fill_expr result in the following behavior:
- @unused (or nothing) fill all unused memory with fill_expr; i.e., 
--
FILL
=0xBEEF@unused
 fills all unused memory with 0xBEEF. The driver 
will expand this to the appropriate ranges and pass these to HEXMATE.
- @address fill a specific address with fill_expr; i.e., 
--
FILL
=0xBEEF@0x1000
 puts 0xBEEF at address 1000h
- @address:end_address fill a range of memory with fill_expr; i.e., 
--
FILL
=0xBEEF@0:0xFF
 puts 0xBEEF in unused addresses between 0 and 
255
All constants can be expressed in (unsigned) binary, octal, decimal or hexadecimal, as 
per normal C syntax, so for example 1234 is a decimal value, 0xFF00 is hexadecimal 
and FF00 is illegal.
4.8.31
--FLOAT: Select Kind of Float Types
This option allows the size of float types to be selected. The types available to be 
selected are given in Table 4-11.
4.8.32
--GETOPTION: Get Command-line Options
This option is used to retrieve the command line options which are used for named 
compiler application. The options are then saved into the given file. This option is not 
required for most projects, and is disabled when the compiler is operating in Free mode 
(see Section 4.8.37 “--MODE: Choose Compiler Operating Mode”).
The options take an application name and a filename to store the options, for example:
--GETOPTION=hlink,options.txt
4.8.33
--HELP: Display Help
This option displays information on the xc8 compiler options. The option --HELP will 
display all options available. To find out more about a particular option, use the option’s 
name as a parameter. For example:
xc8 --help=warn
will display more detailed information about the --WARN option, the available 
suboptions, and which suboptions are enabled by default.
TABLE 4-11:
FLOATING-POINT SELECTIONS
Suboption
 Effect
double
 Size of float matches size of double type
24
 24-bit float (default)
32
 32-bit float (IEEE754)