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 516
2012 Microchip Technology Inc.
read-modify-write problems...................................... 69
read-only variables ................................................. 161
REAL ICE debugger............................................... 142
REALICE, see debuggers
rebuilding projects .................................................... 79
reentrant functions ......................................... 169
read-only variables ................................................. 161
REAL ICE debugger............................................... 142
REALICE, see debuggers
rebuilding projects .................................................... 79
reentrant functions ......................................... 169
registers
allocation to ..................................................... 178
in assembly code ............................................ 252
special function ............................................... 252
used by functions ...................................... 65
in assembly code ............................................ 252
special function ............................................... 252
used by functions ...................................... 65
registry ..................................................................... 73
regsused pragma directive ..................................... 219
relative jump ........................................................... 251
reloc PSECT flag............................................ 231
regsused pragma directive ..................................... 219
relative jump ........................................................... 251
reloc PSECT flag............................................ 231
relocatable object files............................................ 285
replacing library modules ....................................... 237
REPT directive ....................................................... 263
reserving memory.............................. 65
replacing library modules ....................................... 237
REPT directive ....................................................... 263
reserving memory.............................. 65
,
reset ....................................................................... 162
code executed after .....................57
,
determining cause........................................... 197
vector .............................................................. 101
vector .............................................................. 101
reset_vec label ....................................................... 194
reset_vec psect ...................................................... 234
reset_wrap psect .................................................... 234
RETLW instruction ................................................. 173
return values, see function, return values
rotate operator.................................................. 59
reset_vec psect ...................................................... 234
reset_wrap psect .................................................... 234
RETLW instruction ................................................. 173
return values, see function, return values
rotate operator.................................................. 59
round function ........................................................ 356
runtime environment............................................... 112
runtime startup code ......................... 82
runtime environment............................................... 112
runtime startup code ......................... 82
,
assembly listing................................................. 99
preserving variables ........................................ 162
variable initialization ........................................ 195
preserving variables ........................................ 162
variable initialization ........................................ 195
runtime startup module........................................... 113
S
safeguarding code............................................ 58
scale value ............................................................. 256
search path, see header files
sections, see psects
segment selector .................................................... 280
serial numbers................................................ 114
search path, see header files
sections, see psects
segment selector .................................................... 280
serial numbers................................................ 114
embedding ...................................................... 310
SET directive .................................................. 249
setjmp function ....................................................... 357
SFRs ...................................................................... 137
SFRs ...................................................................... 137
accessing in assembly .................................... 205
accessing in inline assembly........................... 206
accessing in inline assembly........................... 206
SFRx class ............................................................. 237
shadow registers .................................................... 191
shift operator .......................................................... 481
short int types ......................................................... 143
sign bit .................................................................... 146
SIGNAT directive.....................................201
shadow registers .................................................... 191
shift operator .......................................................... 481
short int types ......................................................... 143
sign bit .................................................................... 146
SIGNAT directive.....................................201
,
signatures....................................................... 238
silicon errata ........................................................... 103
sin function ............................................................. 357
single step compilation ....................................... 77
sin function ............................................................. 357
single step compilation ....................................... 77
sinh function ........................................................... 327
size limits .................................................................. 63
auto variables.................................................. 172
const variables ................................................ 174
non-auto variables........................................... 167
const variables ................................................ 174
non-auto variables........................................... 167
size of types ........................................... 102
size PSECT flag ..................................................... 258
SLEEP macro......................................................... 358
smallconst psect ..................................................... 234
software stack ........................................................ 134
source files ............................................................... 74
source-level debugging .......................................... 300
sources directory .................................................... 197
SPACE control ....................................................... 267
space PSECT flag .................................................. 258
special function registers, see SFRs
special type qualifiers ............................................. 162
sports cars.............................................................. 251
sprintf function ........................................................ 358
sqrt function ............................................................ 359
srand function......................................................... 360
sscanf function ....................................................... 360
stack ....................................................................... 134
SLEEP macro......................................................... 358
smallconst psect ..................................................... 234
software stack ........................................................ 134
source files ............................................................... 74
source-level debugging .......................................... 300
sources directory .................................................... 197
SPACE control ....................................................... 267
space PSECT flag .................................................. 258
special function registers, see SFRs
special type qualifiers ............................................. 162
sports cars.............................................................. 251
sprintf function ........................................................ 358
sqrt function ............................................................ 359
srand function......................................................... 360
sscanf function ....................................................... 360
stack ....................................................................... 134
depth ............................................................... 274
hardware ......................................................... 169
overflow..................................................... 69
hardware ......................................................... 169
overflow..................................................... 69
standard library files
start label ........................................................ 194
start label ........................................................ 194
start record ............................................................. 255
start_initialization.................................................... 194
startup module.................................................. 82
start_initialization.................................................... 194
startup module.................................................. 82
startup.as, see startup module
static functions................................................ 182
static functions................................................ 182
static variables........................................ 167
STATUS register, preserving ................................. 197
STD mode, see compiler operating mode
storage duration ..................................................... 165
STRCODE class..................................................... 236
string (strxxx) functions .................................. 361
STD mode, see compiler operating mode
storage duration ..................................................... 165
STRCODE class..................................................... 236
string (strxxx) functions .................................. 361
STRING class......................................................... 236
string literals ........................................................... 160
string literals ........................................................... 160
assembly ......................................................... 250
concatenation.................................................. 160
packing ............................................................ 311
storage location ....................................... 160
concatenation.................................................. 160
packing ............................................................ 311
storage location ....................................... 160
type of ............................................................. 160
strings psect ........................................................... 234
stringtext psect ....................................................... 235
struct types, see structures
structure bit-fields ................................................... 150
structure qualifiers .................................................. 149
structures................................................................ 149
stringtext psect ....................................................... 235
struct types, see structures
structure bit-fields ................................................... 150
structure qualifiers .................................................. 149
structures................................................................ 149
bit-fields in ................................................. 51
maximum size of ............................................. 167
SUBTITLE control .................................................. 267
supported devices, see device, support
switch pragma directive .......................................... 219
switch statement..................................................... 219
switch statements................................................... 180
symbol files........................................95
supported devices, see device, support
switch pragma directive .......................................... 219
switch statement..................................................... 219
switch statements................................................... 180
symbol files........................................95
symbol tables ......................................................... 283