Hi,
my project has 100% of the interrupt handlers written in asm. That's the way it's always been done. Many of these ISRs do call C functions which return back to the asm function. I've been trying unsuccessfully to eliminate one or more of these asm functions and replace them by 100% C ISRs. It seems like the majority of people use C ISRs (ie #pragma vector= blah blah). What's the trick? How do I de-activate my existing asm code for a particular vector and replace it with a C handler?
I tried removing the associated code from the .asm file but the compiler says there's a segment conflict for segment INTVEC and that in my .C file there's a segment part of type COMMON while in my .asm file there's a segment part of type RELOCATABLE. Any help appreciated, thanks!