RR 11101 |
code |
SDBBP 00001 |
5 |
6 |
5 |
SDBBP code |
MIPS16e, EJTAG |
Software Debug Breakpoint |
Software Debug Breakpoint
To cause a debug breakpoint exception
This instruction causes a debug exception, passing control to the debug exception handler. If the processor is executing in Debug Mode when the SDBBP instruction is executed the exception is a Debug Mode Exception, which sets the DebugDExcCode fiel to the value 0x9 (Bp). The code fiel can be used for passing information to the debug exception handler, and is retrieved by the debug exception handler only by loading the contents of the memory word containing the instruction, using the DEPC register. The CODE field is not used in a y way by the hardware.
If DebugDM = 0 then SignalDebugBreakpointException() else SignalDebugModeBreakpointException() endif
Debug Breakpoint Exception
Debug Mode Breakpoint Exception