SW500009 Microchip Technology, SW500009 Datasheet - Page 52

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Files
library files which are required, however the appropriate libraries are automatically linked when
using the command-line driver, PICC.
3.3.4 Runtime startup Modules
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.
a user’s program. Even if a user’s program does not need all aspects of the runtime startup code,
redundant code is linked in which, albeit not harmful, takes up memory and slows execution. For
example, if a program does not use any uninitialized variables, then no routine is required to clear
the bss psects.
what runtime startup code is required and links this into the program automatically. It does this
by performing an additional link step which does not produce any usable output, but which can be
used to determine the requirements of the program. From this information PICC then “writes” the
assembler code which will perform the runtime startup. This code is stored into a file which can then
be assembled and linked into the remainder of the program in the usual way.
38
Library files have the extensions .lib. Some compiler options affect the name and number of
Traditionally, runtime startup code is a generic, precompiled routine which is always linked into
HI-TECH PICC STD differs from other compilers by using a novel method to determine exactly
# if RAM Banks is 2
rather than a number. For example, where ’0’, ’1’ or ’2’ might have been used for processors
with no common memory, ’a’, ’b’, and ’c’ would be used for processors that do have common
memory.
Double Type is - for 24-bit doubles, and d for 32-bit doubles.
Library Type is c for the standard library, l for the library which contains only printf-related
functions with additional support for longs, and f for the library which contains onlyConven-
tion printf-related functions with additional support for longs and floats.
m
. For Midrange processors that have common memory, a letter is used
Figure 3.1: Library Naming Convention
C Language Features

Related parts for SW500009