Assembly:

SDBBP code

nanoMIPS. Optional, present when Debug implemented.

Software Debug Breakpoint

Purpose:

Software Debug Breakpoint. Cause a Software Debug Breakpoint exception.

Availability:

nanoMIPS. Optional, present when Debug implemented.

Format:

SDBBP[32]

000000

00000

11

code

6

5

2

19

SDBBP[16]

000100

00000

11

code

6

5

2

3

Operation:

if C0.Config1.EP == 0:
    raise exception('RI', 'Debug not implemented')
if C0.Config5.SBRI and EffectiveKSU() != 0:
    raise exception('RI', 'SBRI exception')
if Root.C0.Config5.SBRI and is_guest_mode():
    raise exception('RI', 'Root SBRIexception', g=False)
debug_exception('BP')
Root.C0.Debug.DBp = 1
raise EXCEPTION()

Exceptions:

Software Debug Breakpoint. Reserved Instruction if Debug not implemented.