SW500010 Microchip Technology, SW500010 Datasheet - Page 172

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
Objtohex
5.11.5 Listing Format
A request to LIBR to list module names will simply produce a list of names, one per line, on standard
output. The s keyletter will produce the same, with a list of symbols after each module name. Each
symbol will be preceded by the letter D or U, representing a definition or reference to the symbol
respectively. The -P option may be used to determine the width of the paper for this operation. For
example:
will list all modules in file.lib with their global symbols, with the output formatted for an 80
column printer or display.
5.11.6 Ordering of Libraries
The librarian creates libraries with the modules in the order in which they were given on the com-
mand line. When updating a library the order of the modules is preserved. Any new modules added
to a library after it has been created will be appended to the end.
which references a symbol defined in another module in the same library, the module defining the
symbol should come after the module referencing the symbol.
5.11.7 Error Messages
LIBR issues various error messages, most of which represent a fatal error, while some represent a
harmless occurrence which will nonetheless be reported unless the -W option was used. In this case
all warning messages will be suppressed.
5.12 Objtohex
The HI-TECH linker is capable of producing simple binary files, or object files as output. Any
other format required must be produced by running the utility program OBJTOHEX. This allows
conversion of object files as produced by the linker into a variety of different formats, including
various hex formats. The program is invoked thus:
All of the arguments are optional. If outputfile is omitted it defaults to l.hex or l.bin
depending on whether the -b option is used. The inputfile defaults to l.obj.
the same as for HLINK.
172
The ordering of the modules in a library is significant to the linker. If a library contains a module
The options for OBJTOHEX are listed in Table 5.4. Where an address is required, the format is
LIBR -P80 s file.lib
OBJTOHEX options inputfile outputfile
Linker and Utilities

Related parts for SW500010