Hi, this question is suitable to micro controller programming. I have a function and fix its location at some particular address in linker file. Now i want to execute this function on particular condition. How to do it? I am thinking of using function pointers like
Can i assign an address to this fctptr same as the address of the function in linker file like fctptr = (void *)8000.Code:Void (*fctptr) (void).
Any help? This is the typical application of bootloader.