Assembly:

TLBWI

nanoMIPS. Required on TLB cores. Requires CP0 privilege.

TLB Write Indexed

Purpose:

TLB Write Indexed. Write the TLB entry indexed by C0.Index using the values in the TLBCP0 registers EntryHi, EntryLo0, EntryLo1, PageMask.

Availability:

nanoMIPS. Required on TLB cores. Requires CP0 privilege.

Format:

001000

x

00

10001

101

111

111

6

10

2

5

3

3

3

Operation:

if not got_tlb():
    raise exception('RI')
if not IsCoprocessor0Enabled():
    raise coprocessor_exception(0)
tlbwi(C0.Index.Index)

Exceptions:

Coprocessor Unusable. Reserved Instruction if TLB not implemented.