SW500011 Microchip Technology, SW500011 Datasheet - Page 101

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
C Language Features
checked for consistency with the remaining arguments.
includes the directive #pragma printf_check(printf) const to enable this checking for printf().
You may also use this for any user-defined function that accepts printf-style format strings. The
qualifier following the function name is to allow automatic conversion of pointers in variable argu-
ment lists. The above example would cast any pointers to strings in RAM to be pointers of the type
(const char *)
3.11.4.3 The #pragma regsused Directive
HI-TECH C will automatically save context when an interrupt occurs. The compiler will determine
only those registers and objects which need to be saved for the particular interrupt function defined.
The #pragma regsused directive allows the programmer to indicate register usage for functions
that will not be “seen” by the code generator, for example if they were written in assembly code.
where routine_name is the assembly name of the function or routine whose register usage is
being defined, and register_list is a space-separated list of registers names. Those registers
not listed are assumed to be unused by the function or routine. The code generator may use any
unspecified registers to hold values across a function call. Hence, if the routine does in fact use these
registers, unreliable program execution may eventuate.
not recognised. A blank list indicates that the specified function or routine uses no registers.
3.11.4.4 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:
This directive enables this checking for the named function, e.g. the system header file <stdio.h>
The general form of the pragma is:
The register names are not case sensitive and a warning will be produced if the register name is
Note that the warning level must be set to -1 or below for this option to have any visible
effect. See Section 2.6.57.
#pragma regsused routine_name register_list
Preprocessing
101

Related parts for SW500011