Download C Compiler User Manual

Transcript
Pre-Processor
assembly is augmented so variables are always
accessed correctly by adding bank switching where
needed.
Examples:
int find_parity (int data)
{
int count;
#asm
movlw
0x8
movwf
count
movlw
0
loop:
xorwf
data,w
rrf
data,f
decfsz count,f
goto
loop
movwf
_return_
#endasm
}
Example Files:
ex_glint.c
Also See:
None
29