asm "jump" in codeRed

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by leluno on Wed Apr 22 01:37:15 MST 2015
with a watchdog-timer the code first should go to the beginnin of the while(1)-loop, second to reset.
on AVR it works like this:
if(zl_sec_wdg==25){asm("jmp label");}
if(zl_sec_wdg>50){asm("jmp 0");}

jmp 0 equals NVIC_SystemReset()
how can I make asm("jmp label" in codeRed?

thanks for helping