Encoding:

POOL32A

000000

code - use syscall

SDBBP

1101101101

POOL32AXf

111100

6

10

10

6

Format:

SDBBP code

microMIPS32, EJTAG

Software Debug Breakpoint

Purpose:

Software Debug Breakpoint

To cause a debug breakpoint exception

Description:

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 field to the value 0x9 (Bp). The code field 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 any way by the hardware.

Restrictions:

Operation:

if Config5.SBRI=1 then /* SBRI is a MIPS Release 6 feature */
   SignalException(ReservedInstruction) endif
If DebugDM = 1 then SignalDebugModeBreakpointException() endif // nested 
SignalDebugBreakpointException() // normal

Exceptions:

Debug Breakpoint Exception

Debug Mode Breakpoint Exception