Hi, Is it possible from startup.asm I can call the interrup service routine found in my C source file?
from my C source file:
void InterruptServiceRoutine (void) interrupt 7 //SMB { ... }
In my startup.asm:
... EXTRN CODE (InterruptServiceRoutine) ... ljmp InterruptServiceRoutine
Your response is greatly appreciated.
thanks gilmar
Yes, most processors are able to call ISR from assembler.
But the big question is why? Somehow, I think you are trying to solve a problem that has better solutions. Or solving a problem that doesn't need to be solved.
Thanks Per. I'm currently in the learning stage. Is calling it from assembler not good?
thanks again gilmar
View all questions in Keil forum