User manual

MPLAB
®
XC8 C Compiler User’s Guide
DS52053B-page 512 2012 Microchip Technology Inc.
return bank...................................................... 188
return values ................................................... 187
signatures ............................................... 238, 265
size limits ........................................................ 185
specifiers......................................................... 182
stack usage..................................................... 187
functions
absolute .............................................25
, 184, 218
creating prototypes ......................................... 110
external ........................................................... 183
inline................................................................182
interrupt, see interrupt functions
location of.......................................................... 65
placing at specific addresses.......................... 216
size of.......................................................... 52
, 64
static................................................................ 182
written in assembler........................................ 200
G
get_cal_data function............................................. 336
getch function......................................................... 334
getchar function...................................................... 335
getche function....................................................... 335
gets function........................................................... 336
glitches on ports ....................................................... 56
GLOBAL directive .............................54
, 201, 253, 255
global PSECT flag.................................................. 257
gmtime function...................................................... 337
H
hardware errata...................................................... 103
hardware stack....................................................... 134
header file
search path .......................................................18
header files....................................................... 17
, 198
device...................................................... 134
, 137
search path .......................................................95
help! ................................................................. 41
, 105
hex files.......................................................73
, 76, 303
address alignment........................................... 113
addresses ....................................................... 257
data record.............................................. 113
, 305
embedding serial numbers.............................. 310
embedding strings........................................... 311
extended address record ................................ 309
filling unused memory ..................................... 104
format.............................................................. 309
merging..................................................... 57
, 304
multiple............................................................ 280
record length ........................................... 113
, 309
renaming ........................................................... 97
statistics .......................................................... 309
hexadecimal constants
assembly................................................. 243
, 250
C code............................................................. 158
HEXMATE application...................................... 76
, 303
HEXMATE options ......................................... 305
311
HI_TECH_C macro ................................................ 214
HI-TECH universal toolsuite................................... 117
HLINK application .................................................. 277
HTC_ERR_FORMAT environment variable............. 88
HTC_MSG_FORMAT environment variable ............88
HTC_WARN_FORMAT environment variable .........88
HTML files ..............................................................106
I
i1 symbol prefix ......................................................192
ICD, see debuggers
ID Locations ........................................................... 139
idata psect...................................................... 216
, 233
identifiers
assembly......................................................... 251
C......................................................................143
unique length of..................................... 19
, 51, 97
IDLOC class ...........................................................237
idloc psect ..............................................................233
IEEE floating-point format, see floating-point types146
IF directive..............................................................261
implementation-defined behaviour ......... 131
, 479486
INCLUDE control....................................................266
include files, see header files
incremental builds ....................................................79
INHX32 hex files............................................. 305
, 309
INHX8M hex files............................................ 305
, 309
init psect .................................................................233
initialized variables ......................................... 113, 195
inline functions........................................................182
inline pragma directive ...........................................215
input files ..................................................................72
installation, see compiler installation & activation
instruction set .........................................................133
instrumented trace..................................................142
int types ..................................................................143
intcode psect ..........................................................233
integer constants.................................................... 158
integer suffixes .......................................................158
integral promotion...................................................179
Intel HEX files, see hex files
intentry psect..........................................................234
intermediate files ...........................72
, 75, 76, 107, 109
assembly........................................................... 80
Internet Address.........................................................9
interrupt
sources............................................................189
vectors..................................................... 101
, 189
interrupt functions...................................................189
context switching..................................... 191
, 219
moving..................................................... 101
, 185
optimizations .....................................................63
interrupt qualifier.....................................................189
interrupt_level pragma directive .............................215
interrupts ..................................................................53
context switching................................. 53
, 63, 185
disabling .................................................... 58
, 192
enabling...........................................................192
intrinsic pragma directive........................................215
IRP directive ...........................................................264
IRPC directive ........................................................264
isalnum function .....................................................338
isalpha function ......................................................338
isatty function .........................................................339
isdigit function......................................................... 338