Hello
You can specify a specific function is an interrupt function using following notation:
__declspec(interrupt) void MyInterrupt(void) {
/* Add your code here. */
}
See ColdFire_Build_Tools_Reference manual for more details on this notation.
Then you need to initialize the appropriate entry in the vector table with the address of this function.
If you have created your project using the project wizard the source file exceptions.c contains such a table (it is called _vect).
Just add the name of your interrupt function at the appropriate location.
I hope this helps.
CrasyCat