SDBBP code |
nanoMIPS. Optional, present when Debug implemented. |
Software Debug Breakpoint |
Software Debug Breakpoint. Cause a Software Debug Breakpoint exception.
nanoMIPS. Optional, present when Debug implemented.
|
000000 |
00000 |
11 |
code |
|
6 |
5 |
2 |
19 |
|
000100 |
00000 |
11 |
code |
|
6 |
5 |
2 |
3 |
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()
Software Debug Breakpoint. Reserved Instruction if Debug not implemented.