Hi, how can i set program counter from variable in C code?
void func(void) { uint32_t XADDR; XADDR = __current_pc(); ... // need set PC from XADDR // msr pc, XADDR not compiled }
Thanks in advance
"how can i set program counter from variable in C code?"
C's closest approximation is a function pointer.