SW500010 Microchip Technology, SW500010 Datasheet - Page 30

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
Runtime Files
2.3.1.1 Standard Libraries
The C standard libraries contain a standardised collection of functions, such as string, math and
input/output routines. The range of these functions are described in Appendix A.
generator. These are routines that perform tasks such as floating point operations, and that do not
directly correspond to a C function call in the source code.
is described by:
Typically there will only be an .lpp version of each library, however there may also be a .lib
version in some cases.
2.3.2 Runtime Startup Module
A C program requires certain objects to be initialised and the processor to be in a particular state
before it can begin execution of its function main(). It is the job of the runtime startup code to
perform these tasks, specifically:
Rather than the traditional method of linking in a generic, precompiled routine, HI-TECH C PRO for
the PIC10/12/16 MCU Family uses a more efficient method which actually determines what runtime
startup code is required from the user’s program. It does this by performing an additional link step,
the output of which is used to determine the requirements of the program. From this information
PICC then “writes” the assembler code which will perform the startup sequence. This code is stored
into a file which is then assembled and linked into the remainder of the program automatically.
sembler file which contains the runtime startup code can be deleted after compilation by using the
driver option:
30
These libraries also contain C routines that are implicitly called by the output code of the code
The general form of the standard library names is htpic-dc.ext. The meaning of each field
The runtime startup code is generated automatically on every compilation. If required, the as-
Processor Type is always pic.
The double type, d, is - for 24-bit doubles, and d for 32-bit doubles.
Library Type is always c.
The extension is .lpp for p-code libraries, or .lib for relocatable object libraries.
Initialisation of global variables assigned a value when defined
Clearing of non-initialised global variables
General setup of registers or processor state
PICC Command-line Driver

Related parts for SW500010