I've been a programmer for many years now, but I've come across a new situation which I have never had to deal with before. My question is this: Is it possible to determine where functions are stored at compile time, so that at run time you can pass the memory address as a pointer to the interrupt handler so that it can directly call the function at memory location 'X'? The newest project I'm working on would require to either somehow capture these addresses or to find a work-around so that instead of passing the pointer to the interrupt handler, the software would then need to be able to be non-interruptable. If anyone has any ideas please let me know. I've never had to write this level of complexity into my software before. Most software I've worked on has been user-end and this isn't user-end, but rather processor-end software to drive the system.
Thanks in advance.