This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Set program counter

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

Parents Reply Children