Processor Expert generates code you can read.
You can use this code as example.
The PE project I generated was just a timer interrupt.
You can unzip and import this project into CW10.6, or just look at the files.
It shows you how to write ISR routines.
Look in the generated code directory for the code that PE generates to support the timer interrupt.
Please post an emai address and I will mail it to you, if you are interested.