User manual

Index
2012 Microchip Technology Inc. DS52053B-page 509
format...............................................243, 244, 266
hexadecimal constants ................................... 243
including conditional code............................... 266
macros.............................................243
, 266, 267
new page ........................................................ 267
titles and subtitles ........................................... 267
assembly source files............................................... 74
assembly variables
C equivalent.................................................... 204
defining ........................................................... 260
global .............................................................. 255
identifiers ........................................................ 251
initialized ......................................................... 260
reserving memory ........................................... 260
type................................................................. 251
assert function........................................................ 320
atan function .......................................................... 321
atan2 function ........................................................ 321
atof function ........................................................... 322
atoi function............................................................ 322
atol function............................................................ 323
auto variables..........................................165
, 169, 273
assembly symbols .......................................... 169
compiled stack................................................ 169
initilization ....................................................... 195
memory allocation....................................169
172
size limits ........................................................ 172
B
banked memory ........................................63, 165, 258
linear addressing ...............................64
, 167, 175
linker classes for............................................. 237
qualifiers for .................................................... 163
selection in assembly code........54
, 202, 247, 264
BANKMASK macro...........................................55
, 202
BANKSEL directive ...........................................54
, 202
BANKx class .......................................................... 237
bankx qualifiers ...................................................... 163
base specifier, see radix specifier
base value.............................................................. 171
biased exponent..................................................... 147
big endian format ................................................... 306
BIGRAM class........................................................ 237
bin directory ............................................................. 76
binary constants
assembly......................................................... 250
C code ............................................................ 158
bit access of variables.............................................. 51
bit data types...................................................143
, 145
bit instructions .................................................140
, 145
bit PSECT flag ....................................................... 256
bitclr macro ............................................................ 140
bit-fields......................................... 22
, 23, 51, 150151
bitset macro ........................................................... 140
bitwise complement operator ................................. 179
blinking an LED........................................................ 68
bootloaders .......................................56, 112, 113, 309
bsearch function..................................................... 324
bss psect.................................................166
, 195, 235
BTEMP variables ................................................... 191
building projects....................................................... 79
byte addressable memory...................................... 257
C
C identifiers ............................................................ 143
C standard libraries...................................81
, 313376
call depth, see stack depth
call graph.................................134, 170, 193, 273275
caspic.h header file ................................................ 206
casting.............................................................. 46, 179
CCI................................................................... 15
, 132
ceil function ............................................................ 325
cgets function......................................................... 325
char data types................................................. 20
, 144
character constants
assembly......................................................... 250
in C.................................................................. 160
checksum psect ..................................................... 233
checksums ..................................................... 100
, 306
specifications .................................................. 296
chipinfo file ..............................................111
, 112, 242
cinit psect ............................................................... 233
class PSECT flag ................................................... 257
classes
linker ............................................................... 236
classes, see linker classes
clearing variables ................................................... 195
CLRWDT instruction ................................................ 59
CLRWDT macro..................................................... 326
CODE class............................................................ 236
command files .................................................. 72
, 293
linker ............................................................... 278
command-line driver, see driver
commands, see building projects, command-line
COMMON class ..................................................... 237
common compiler interface .............................. 15
, 132
common memory ....................................162
, 165, 191
compilation
assembly files ................................................... 80
incremental builds............................................. 79
make files, see make files
mixed file types ................................................. 78
sequence .................................................... 75
79
time ................................................................. 115
to assembly file ................................................. 98
to intermediate file........................................... 109
to object file....................................................... 93
to preprocessed file......................................... 109
compiled stack ............................................... 169
172
base value....................................................... 171
compiler applications................................................ 75
compiler errors
format................................................................ 88
list of........................................................ 377
478
compiler installation & activation.........................41
–??
compiler operating mode.............................11, 60, 106
compiler options, see driver options
compiler selection .................................................... 44
compiler-generated code ......................................... 64
compiler-generated psects......................216
, 232235
COND control......................................................... 266
conditional assembly.............................................. 261