hope your LEDs are not always blinking
. When I had to use interrupts on a PSoC1 I was using C. There is a #pragma to declare an Interrupt routine.
You ought to avoid long delays while handling interrupts and you should avoid to call ANY C-function within it. The reason for the latter is, that the compiler tries to save only the
needed pseudo-registers (16) on the stack, but is not able to "see" which registers are used in another function, so pushes all of them. That costs time and stack-space!
In a file named "Interrupts.tpl" you'll have to insert a LJMP-instruction to your interrupt routine (Name preceeded by an underscore) but all that you'll find in Danadac's Doc-Hints.
Have a good (un-interrupted) x-mas