Dec 12, 2011 #1 N Neyolight Full Member level 5 Joined Aug 29, 2011 Messages 306 Helped 3 Reputation 6 Reaction score 3 Trophy points 1,298 Location World Activity points 3,624 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: 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 }
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: 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 }