Information
PIC18F2455/2550/4455/4550
DS80220J-page 4 © 2008 Microchip Technology Inc.
An optimized C18 version is also provided in
Example 3. This example illustrates how it
reduces the instruction cycle count from
10 cycles to 3:
EXAMPLE 3:
#pragma code high_vector_section=0x8
void high_vector (void)
{
_asm
CALL high_vector_branch, 1
_endasm
}
void high_vector_branch (void)
{
_asm
POP
GOTO high_isr
_endasm
}
#pragma interrupt high_isr
void high_isr (void)
{
...
}