17.3.3 Vector Pragma
The vector
pragma creates one or more dispatch functions targeting the
indicated function. For target functions specified with the interrupt
pragma, this functions as if the vector clause had been used. The target function of a
vector
pragma can be any function, including external functions
implemented in assembly or by other means.
# pragma vector function-name vector vector-number [,
vector-number-list]
The following pragma defines a dispatch function targeting foo
at
exception vector address 54.
#pragma vector foo 54