Neyolight
Full Member level 5
HI all
Could someone explain what lines "high_vector=0x08" and "low_vector=0x18" are doing? What are the 2 hexadecimal numbers for?
Could I have 2 high priority interrupts looking at different things in the code?
Thanks :smile:
Could someone explain what lines "high_vector=0x08" and "low_vector=0x18" are doing? What are the 2 hexadecimal numbers for?
Could I have 2 high priority interrupts looking at different things in the code?
Thanks :smile:
Code:
#pragma code high_vector=0x08
void high_vector(void)
{
_asm GOTO high_isr _endasm
}
#pragma code low_vector=0x18
void low_vector(void)
{
_asm GOTO low_isr _endasm
}