SW500010 Microchip Technology, SW500010 Datasheet - Page 106
![HI-TECH C PRO FOR PIC10/12/16](/photos/9/32/93259/sw500010_sml.jpg)
SW500010
Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
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
778-1006
778-1006
- Current page: 106 of 502
- Download datasheet (3Mb)
Preprocessing
3.11 Preprocessing
All C source files are preprocessed before compilation. Assembler files can also be preprocessed if
the -P command-line option is issued.
3.11.1 Preprocessor Directives
HI-TECH C PRO for the PIC10/12/16 MCU Family accepts several specialised preprocessor direc-
tives in addition to the standard directives. All of these are listed in Table 3.6.
the ## sequence to concatenate tokens.
3.11.2 Predefined Macros
The compiler drivers define certain symbols to the preprocessor (CPP), allowing conditional com-
pilation based on chip type etc. The symbols listed in Table
defined by the drivers. Each symbol, if defined, is equated to 1 unless otherwise stated.
3.11.3 Pragma Directives
There are certain compile-time directives that can be used to modify the behaviour of the compiler.
These are implemented through the use of the ANSI standard #pragma facility. The format of a
pragma is:
A list of the keywords is given in Table 3.9. Those keywords not discussed elsewhere are detailed
below.
3.11.3.1 The #pragma inline Directive
The #pragma inline directive is used to indicate to the compiler that a function is to be inlined.
The directive is only able to be used on functions that are hard coded in the code generator of the
compiler. User defined and library function are not able to be inlinded. This directive should be
placed directly before the function prototype of the inline function. Below is example usage
106
Macro expansion using arguments can use the # character to convert an argument to a string, and
#pragma keyword options
where keyword is one of a set of keywords, some of which are followed by certain options.
#pragma inline(__va_start)
extern void *
__va_start(void);
3.7
show the more common symbols
C Language Features
Related parts for SW500010
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: