How can I call function where address is in pointer? Something like this:
void test1(void){
puts("blah");
}
void *exec;
void main(void) {
exec = (void *)test1;
__asm
{
BL exec
}
...
It's out of context. There will be more pointers and *exec can be constant:
const void *exec = (void *)test1;
Thanks!
MarkoMessage
[lpc2000] Jump from variable
2006-02-23 by Marko Pavlin