User manual
MPLAB
®
XC8 C Compiler User’s Guide
DS52053B-page 514 2012 Microchip Technology Inc.
warning, see warning messages
messaging system.............................................. 86
–90
appending messages to file .............................. 94
default langauge ............................................... 87
default warning level ......................................... 90
environment variables....................................... 88
message count.................................................. 86
redirecting messages to file .............................. 94
supported languages ........................................ 87
Microchip COF file.................................................. 109
Microchip Internet Web Site ....................................... 9
mktime function ...................................................... 347
modf function.......................................................... 348
modules.................................................................... 74
generating ....................................................... 109
MPLAB IDE
build options.........................................45
, 96, 117
compiler operating mode .................................. 44
compiler selection ............................................. 44
debug builds.............................................. 45
, 284
plugin .............................................................. 117
search path .......................................................95
MPLAB X IDE
build options.................................................... 124
multi-byte SFRs...................................................... 138
N
native trace............................................................. 142
near qualifier .......................................................... 162
NOCOND control.................................................... 267
NOEXPAND control ...............................................267
NOLIST control .............................................. 243
, 267
none suboption......................................................... 91
non-volatile RAM.................................................... 161
NOP macro ............................................................ 349
NOXREF control..................................................... 267
nul macro operator................................................. 262
NULL macro ............................................................. 24
NULL pointers ................................................ 156
, 157
nv psect.......................................................... 166
, 235
O
object code version number................................... 286
object file libraries................................................... 285
object files ..................................... 76, 80, 93, 244, 291
absolute .......................................................... 281
contents .......................................................... 285
relocatable ...................................................... 285
symbol only ..................................................... 280
OBJTOHEX application.......................................... 295
OBJTOHEX options ...............................................295
operator, cast ........................................................... 46
OPT control directive.............................................. 265
optimizations ...........................................106
, 108, 208
assembler ............................................... 108
, 245
causing corruption............................................. 58
code size........................................................... 61
data size............................................................ 62
debugging ............................................... 108
, 245
faster code ........................................................ 62
interrupt functions ............................................. 63
speed vs space ...............................................108
option instruction ....................................................140
options, see driver options
ORG directive................................................. 206, 259
oscillator calibration constants ................. 59
, 141, 196
preserving .......................................................141
output file format
binary ..............................................................109
library ..............................................................109
specifying ................................................ 109
, 295
output files........................................................ 97
, 108
directory ..........................................................108
names of ...........................................................84
renaming ...........................................................97
specifying name of ............................................97
overlaid memory areas...........................................281
overlaid psects .......................................................258
ovrld PSECT flag............................................ 206
, 258
P
PAGE control..........................................................267
paged memory ..........................52
, 247, 248, 258, 264
selection in assembly code ...............................55
PAGESEL directive .................................. 55, 247, 264
parameters, see function, parameters
PATH environment variable .....................................73
p-code files............................................72
, 76, 77, 109
obfuscating......................................................114
p-code libraries, see libraries, p-code
persistent qualifier .................................. 162
, 195, 196
phase errors ...........................................................257
picc.ini file....................................................... 111
, 112
pointer
comparisons....................................................157
definitions........................................................152
encoding..........................................................155
qualifiers..........................................................152
targets ............................................................. 153
types................................................................152
pointer reference graph .................................. 154
, 272
pointers......................................................152
–??, 165
assigning dummy targets ................................ 156
assigning integers ...........................................156
data ................................................................. 153
function............................................................156
pow function ...........................................................350
powerup label.........................................................194
powerup psect................................................ 197
, 234
powerup routine........................................ 83
, 194, 197
powerup.as............................................................. 197
pragma directives...................................................214
preprocessed files .................................... 76
, 109, 210
preprocessing......................................................... 210
assembler files ..................................................97
preprocessor
macro concatenation.......................................210
search path .......................................................95
type conversions .............................................211
preprocessor directives .................................. 210
–211
in assembly files........................................ 97
, 249
preprocessor macros