SW500010 Microchip Technology, SW500010 Datasheet - Page 111

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
C Language Features
not recognised. A blank list indicates that the specified function or routine uses no registers.
3.11.3.6 The #pragma switch Directive
Normally the compiler decides the code generation method for switch statements which results in
the smallest possible code size. The #pragma switch directive can be used to force the compiler
to use one particular method. The general form of the switch pragma is:
erate the table look-up style switch method. This is mostly useful where timing is an issue for
switch statements (i.e.: state machines).
default behaviour.
3.11.3.7 The #pragma warning Directive
The warning disable pragma Some warning messages can be disabled by using the warning
disable pragma. This pragma will only affect warnings that are produced by either parser or
the code generator, i.e. errors directly associated with C code. The position of the pragma is only
significant for the parser, i.e. a parser warning number may be disabled, then re-enabled around
a section of the code to target specific instances of the warning. Specific instances of a warning
produced by the code generator cannot be individually controlled. The pragma will remain in force
during compilation of the entire module.
warning push and warning pop pragmas. Pushes and pops can be nested to allow a large
degree of control over the message behaviour.
The register names are not case sensitive and a warning will be produced if the register name is
#pragma switch switch_type
where switch_type is one of the available switch methods listed in Table .
Specifying the direct option to the #pragma switch directive forces the compiler to gen-
This pragma affects all code generated onward. The auto option may be used to revert to the
The state of those warnings which have been disabled can preserved and recalled using the
switch type
auto
direct
Table 3.11: switch types
use smallest code size method (default)
table lookup (fixed delay)
description
Preprocessing
111

Related parts for SW500010