Microchip Technology XC8 Standard Compiler (Workstation) SW006021-1 SW006021-1 User Manual
Product codes
SW006021-1
MPLAB
®
XC8 C Compiler User’s Guide
DS52053B-page 508
2012 Microchip Technology Inc.
#asm directive ........................................................ 202
#define directive ....................................................... 94
#endasm directive .................................................. 202
#include directive ........................................74
#define directive ....................................................... 94
#endasm directive .................................................. 202
#include directive ........................................74
#pragma
addrqual .......................................................... 215
inline................................................................ 215
interrupt_level ................................................. 215
intrinsic ............................................................ 215
printf_check..................................................... 216
psect ............................................................... 216
regsused ......................................................... 219
switch .............................................................. 219
inline................................................................ 215
interrupt_level ................................................. 215
intrinsic ............................................................ 215
printf_check..................................................... 216
psect ............................................................... 216
regsused ......................................................... 219
switch .............................................................. 219
#undef directive ........................................................ 98
% macro argument prefix ....................................... 262
% message format placeholder character................ 88
%%u psect pragma placeholder............................. 216
- suboption ............................................................... 91
+ suboption............................................................... 91
<> macro argument characters ...................... 249
% macro argument prefix ....................................... 262
% message format placeholder character................ 88
%%u psect pragma placeholder............................. 216
- suboption ............................................................... 91
+ suboption............................................................... 91
<> macro argument characters ...................... 249
$ assembly label character..................................... 251
$ location counter symbol....................................... 251
$ location counter symbol....................................... 251
Numerics
0b binary radix specifier ......................................... 158
A
abs function ............................................................ 317
abs PSECT flag.............................................. 206
abs PSECT flag.............................................. 206
ABS1 class ............................................................. 237
absolute functions .....................................25
absolute functions .....................................25
,
absolute object files................................................ 281
absolute psects .......................................206
absolute psects .......................................206
,
absolute variables ............. 25
–
acos function .......................................................... 318
activation, see compiler installation & activation
addressable unit, see delta PSECT flag
addrqual pragma directive...................................... 215
advisory messages........................................... 87
activation, see compiler installation & activation
addressable unit, see delta PSECT flag
addrqual pragma directive...................................... 215
advisory messages........................................... 87
alignment
of HEX file records .......................................... 113
of psects, see reloc PSECT flag
of psects, see reloc PSECT flag
all suboption ............................................................. 91
anonymous unions ................................................. 151
ANSI C standard ...................................................... 14
anonymous unions ................................................. 151
ANSI C standard ...................................................... 14
conformance ........................................... 115
divergence ...................................................... 131
implementation-defined behaviour ...131
implementation-defined behaviour ...131
,
arrays ..................................................................... 167
and pointer sizes ............................................. 153
as dummy pointer targets ............................... 156
maximum size of ............................................. 167
as dummy pointer targets ............................... 156
maximum size of ............................................. 167
ASCII characters ............................................ 144
extended ......................................................... 160
asctime function ..................................................... 319
asin function ........................................................... 319
asm C statement .............................................. 38
asin function ........................................................... 319
asm C statement .............................................. 38
ASMOPT control .................................................... 266
aspic.h header file .................................................. 205
assembler application..................................... 241
aspic.h header file .................................................. 205
assembler application..................................... 241
disabling messages ........................................ 244
maximum number of errors ............................. 245
usage .............................................................. 241
usage .............................................................. 241
assembler controls ......................................... 265
assembler directives....................................... 254
assembler macros .................................................. 262
disabling in listing ............................................ 267
expanding in listings................................ 243
expanding in listings................................ 243
repeat with argument ...................................... 264
repeating ......................................................... 263
suppressing comments ................................... 262
unnamed ......................................................... 263
repeating ......................................................... 263
suppressing comments ................................... 262
unnamed ......................................................... 263
assembler optimizations......................................... 268
assembler optimizer
assembler optimizer
and list files ..................................................... 269
enabling........................................... 108
enabling........................................... 108
selectively disabling ........................................ 266
stack depth considerations.............................. 274
stack depth considerations.............................. 274
assembler options .......................................... 242
assembler-generated symbols ............................... 251
assembly code
assembly code
called by C ...................................................... 200
generating from C ............................................. 98
interaction with C............................................. 203
mixing with C....................................... 53
generating from C ............................................. 98
interaction with C............................................. 203
mixing with C....................................... 53
optimizations ................................................... 108
preprocessing............................................ 97
preprocessing............................................ 97
stack overflow ................................................... 69
writing.......................................................... 53
writing.......................................................... 53
–
assembly constants ................................................ 250
assembly files................................................... 73
assembly files................................................... 73
assembly language
absolute variables ........................................... 261
accessing C objects ........................................ 204
character set ................................................... 249
comments........................................................ 249
common errors ............................................ 55
accessing C objects ........................................ 204
character set ................................................... 249
comments........................................................ 249
common errors ............................................ 55
,
conditional ....................................................... 261
data types........................................................ 251
delimiters......................................................... 249
differences in................................................... 246
expressions ..................................................... 253
include files ..................................................... 266
initializing locations ......................................... 260
label scope .............................................. 253
data types........................................................ 251
delimiters......................................................... 249
differences in................................................... 246
expressions ..................................................... 253
include files ..................................................... 266
initializing locations ......................................... 260
label scope .............................................. 253
labels....................................................... 249
line numbers.................................................... 244
location counter ............................................... 251
operators ......................................................... 253
pseudo-ops ..................................................... 254
registers ............................................ 55
location counter ............................................... 251
operators ......................................................... 253
pseudo-ops ..................................................... 254
registers ............................................ 55
relative jumps .................................................. 251
repeating instructions ...................................... 263
reserving memory ................................... 206
repeating instructions ...................................... 263
reserving memory ................................... 206
statement formats ........................................... 249
strings.............................................................. 250
volatile objects................................................. 250
strings.............................................................. 250
volatile objects................................................. 250
assembly list files .................. 64
,