How do I put asm code in a C function
so it will compile
correctly with HITECH C
compilator.
For ex.
A Function with variable access;
void INC_VAR()
{
__asm
color=#000000> {
movf
offset UI_VAR
movwf
0x04
inc
0x00
btfss
Z_FLAG
return
inc
0x04
inc
0x00
}
}