Just an idea I had...
Comments?
Maybe won't be cutting it much but for unoptimized 16F, could be a few cycles?
Comments?
Rich (BB code):
if(TMR0IF)
{
TMR0IF=0;
v_sys_flags|=1;
}
Rich (BB code):
v_sys_flags|=(INTCON&TMR0IF_value);
INTCON&=(0xff-TMR0IF_value);