SW006010 Microchip Technology, SW006010 Datasheet - Page 13

no-image

SW006010

Manufacturer Part Number
SW006010
Description
MPLAB 17C SOFTWARE
Manufacturer
Microchip Technology
Datasheets

Specifications of SW006010

Tool Function
Compiler
Tool Type
Compiler
Processor Series
PIC17C
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
MPLAB®
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
1.4
 2002 Microchip Technology Inc.
MPLAB C17 PRECOMPILED OBJECT FILES
Precompiled object files are useful inclusions when building applications. These files
have already been compiled and tested, so may be used as “plug-ins” to serve a
specific function in your code development.
When building an application, usually one file from each of the following subsections
will be needed to successfully link. Be sure to chose the file that corresponds to your
selected device and memory model. For more information on memory models, see the
MPLAB C17 C Compiler User’s Guide (DS51290).
These files are included in the c:\mcc\lib directory, where c:\mcc is the compiler
install directory. They can be linked directly into an application with MPLINK linker.
1.4.1
These files contain the start up code for the compiler. This code initializes the C
software stack, calls the routines in idata17.o to initialize data (c0l17.o only), and
jumps to the start of the application function, main().
If the application uses more than one page (8k) of program memory, then c0l17.o
should be used.
The source code may be found in c:\mcc\src\startup, where c:\mcc is the
compiler install directory.
1.4.2
This assembly code copies initialized data from ROM to RAM upon system start up.
This code is required if variables are set to a value when they are first defined.
Here is an example of data that will need to be initialized on system startup:
int my_data = 0x1234;
unsigned char my_char = "a";
To avoid the overhead of this initialization code, set variable values at run time:
void main (void)
The source code may be found in c:\mcc\src\startup, where c:\mcc is the
compiler install directory.
int my_data;
unsigned char my_char;
my_data = 0x1234;
my_char = "a";
PIC17CXXX
:
:
Device
Start Up Code
Initialization Code
PIC17CXXX
Library/Precompiled Object Overview
Device
c0s17.o
Small
Memory Model
All Memory Models
Compact/Medium/Large
idata17.o
c0l17.o
apRNOVS^-page 9

Related parts for SW006010