Hi
I need to implement a stack overflow handler which will disable all interrupts and then execute some instruction such as bkpt #0 in case of ARM Cortex and then enter infinite loop
void StackOverflow( ) { // disable all interrupts //todo: Indicate Overflow by write to GPIO port or an LED __asm volatile("bkpt #0"); // breakpoint here for(;;) { }}
Is there similar instruction in RH850 to do this similar to bkpt #0 in case of ARM Cortex?
Thanks,