Encoding:

POOL16C

010001

code

SDBBP16

111011

6

4

6

Format:

SDBBP16 code

microMIPS32, EJTAG

Software Debug Breakpoint (16-bit instr size)

Purpose:

Software Debug Breakpoint (16-bit instr size)

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:

Availability and Compatibility:

This instruction has been recoded for Release 6.

Operation:

 and Config5.SBRI = 0If DebugDM = 0 then
   SignalDebugBreakpointException()
else
   SignalDebugModeBreakpointException()
endif

Exceptions:

Debug Breakpoint Exception

Debug Mode Breakpoint Exception