unsigned int var;
void main(void)
{
var = 1;
#asm // like this...
BCF 0,3
BANKSEL(_var)
RLF (_var)&07fh
RLF (_var+1)&07fh
#endasm
// do it again the other way...
asm(“BCF 0,3” );
asm(“BANKSEL _var” );
asm(“RLF (_var)&07fh” );
asm(“RLF (_var+1)&07fh” );
}
|