SW500010 Microchip Technology, SW500010 Datasheet - Page 22

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
Invoking the Compiler
2.1 Invoking the Compiler
This chapter looks at how to use PICC as well as the tasks that it and the internal applications perform
during compilation.
It is conventional to supply options(identified by a leading dash “-” or double dash “–”) before
the filenames, although this is not mandatory.
option follows.
files, such as relocatable object (.obj) files or p-code (.p1) files. The order of the files is not
important, except that it may affect the order in which code or data appears in memory, and may
affect the name of some of the output files.
linker. The -L option, see Section 2.6.6, can also be used to specify library files to search.
extension. Recognized file types are listed in Table 2.1. This means, for example, that an assembler
file must always have a .as extension. Alphabetic case of the extension is not important from the
compiler’s point of view.
22
PICC has the following basic command format:
The formats of the options are discussed below in Section 2.6, and a detailed description of each
The files may be any mixture of C and assembler source files, and precompiled intermediate
Libraries is a list of either object code or p-code library files that will be searched by the
PICC distinguishes source files, intermediate files and library files solely by the file type or
PICC [options] files [libraries]
M
part of a program. C source files are initially passed to the preprocessor by the driver.
A module is the output of the preprocessor, for a given source file, after inclusion of
any header files (or other source files) which are specified by #include preprocessor
ODULES AND SOURCE FILES
.c
.p1
.lpp
.as
.obj
.lib
.hex
File Type
Table 2.1: PICC input file types
: A C source file is a file on disk that contains all or
Meaning
C source file
p-code file
p-code library file
Assembler source file
Relocatable object code file
Relocatable object library file
Intel HEX file
PICC Command-line Driver

Related parts for SW500010