User manual

Index
2012 Microchip Technology Inc. DS52053B-page 515
containing strings.............................................. 94
defining ............................................................. 94
predefined..................................................36, 212
undefining ......................................................... 98
unique length of ................................................ 97
printf function ................................ 58
, 80, 81, 198, 350
format checking .............................................. 216
preprocessing ................................................. 109
printf_check pragma directive ................................ 216
PRO mode, see compiler operating mode
PROCESSOR directive.......................................... 244
processor selection.........................................100
, 283
program counter..................................................... 251
program entry point................................................ 197
program memory.............................................173
, 257
absolute variables....................................161
, 176
project name ............................................................ 84
projects .................................................................... 79
assembly files ................................................... 80
prototype files......................................................... 110
psect
absolute .......................................................... 206
bss ...................................................166
, 195, 235
checksum........................................................ 233
cinit ................................................................. 233
config .............................................................. 233
const ............................................................... 233
cstack.......................................................169
, 235
data..........................................................166
, 235
default............................................................. 254
eeprom............................................................ 233
eeprom_data................................................... 233
grouping.......................................................... 257
idata................................................................ 233
idloc ................................................................ 233
init ................................................................... 233
intcode ............................................................ 233
intentry............................................................ 234
jmp_tab........................................................... 234
maintext ...................................................184
, 234
mediumconst .................................................. 234
powerup...................................................197
, 234
reset_vec ........................................................ 234
reset_wrap...................................................... 234
smallconst....................................................... 234
strings ............................................................. 234
stringtext ......................................................... 235
textn.........................................184
, 200, 216, 235
xxx_text....................................................185
, 235
psect association ................................................... 257
PSECT directive................................................55, 256
PSECT flags ...................................................256
258
psect pragma directive........................................... 216
psects..................................................................... 285
absolute ...................................................256
, 258
alignment of, see reloc PSECT flag
class.........................................................279
, 283
compiler-generated..................................232
235
delta value ...................................................... 279
differentiating ROM and RAM......................... 258
function ........................................................... 184
linking.............................................................. 285
listing............................................................... 115
maximum address........................................... 257
maximum size................................................. 258
overlaid ........................................................... 258
page boundaries and ...................................... 258
placing in memory................................... 257
, 281
placing with others .......................................... 258
specifying address ranges .............................. 282
specifying addresses .............................. 279
, 281
splitting............................................................ 184
pseudo-ops, see assembler directives
pure PSECT flag .................................................... 258
putch function........................................................... 58
putchar function.............................................. 352
, 353
puts function........................................................... 354
Q
qsort function.......................................................... 354
qualifer
far.................................................................... 163
qualifier................................................................... 164
__align .............................................................. 30
__bank .............................................................. 29
__deprecate...................................................... 34
__eeprom.......................................................... 31
__far.................................................................. 26
__interrupt......................................................... 31
__near............................................................... 27
__pack .............................................................. 33
__persistent ...................................................... 28
__section........................................................... 35
__xdata ............................................................. 29
__ydata ............................................................. 29
auto................................................................. 169
bankx .............................................................. 163
const ....................................................... 161
, 174
control ............................................................. 140
eeprom............................................................ 164
interrupt........................................................... 189
near................................................................. 162
persistent .........................................162
, 195, 196
special............................................................. 162
volatile.................................. 56, 58, 161, 207, 250
qualifiers......................................................... 161
164
and auto variables........................................... 169
and structures ................................................. 149
disabling non-ANSI C...................................... 115
quiet mode ............................................................... 97
R
radix specifiers
assembly......................................................... 250
C code............................................................. 158
RAM banks, see banked memory
RAM class .............................................................. 237
rand function .......................................................... 355
reading timer registers ........................................... 138
Reading, Recommended ........................................... 8
Readme...................................................................... 9