#pragma code high_vector_section=0x08
void high_vector(void)
{
_asm goto PIC18F_HIGH_ISR _endasm
}
#pragma code
#pragma code low_vector_section=0x18
void low_vector(void)
{
_asm goto
PIC18F_LOW_ISR
_endasm
}
#pragma code
编译的时候提示Error [1111] undefined label 'PIC18F_HIGH_ISR' in 'high_vector';
Error [1111] undefined label 'PIC18F_LOW_ISR' in 'low_vector'
大家有遇到过的吗?
|