Assembly:

DI rt

nanoMIPS. Requires CP0 privilege.

Disable Interrupts

Purpose:

Disable Interrupts. Disable interrupts by setting Status.IE to 0, and return the previousvalue of Status register in register $rt.

Availability:

nanoMIPS. Requires CP0 privilege.

Format:

001000

rt

x

01

00011

101

111

111

6

5

5

2

5

3

3

3

Operation:

if not IsCoprocessor0Enabled():
    raise coprocessor_exception(0)
GPR[rt] = C0.Status
C0.Status.IE = 0

Exceptions:

Coprocessor Unusable.