rabbitizer/include/instructions/instr_id/r5900/r5900_cop0_tlb.inc
2022-10-13 13:32:22 -03:00

30 lines
1.2 KiB
PHP

/* SPDX-FileCopyrightText: © 2022 Decompollaborate */
/* SPDX-License-Identifier: MIT */
/*
31--------26-25------21--------------------------------5--------0
| = COP0 | TLB | | fmt |
------6----------5-----------------------------------------------
|--000--|--001--|--010--|--011--|--100--|--101--|--110--|--111--| lo
000 | --- | TLBR | TLBWI | --- | --- | --- | TLBWR | --- |
001 | TLBP | --- | --- | --- | --- | --- | --- | --- |
010 | --- | --- | --- | --- | --- | --- | --- | --- |
011 | ERET | --- | --- | --- | --- | --- | --- | --- |
100 | --- | --- | --- | --- | --- | --- | --- | --- |
101 | --- | --- | --- | --- | --- | --- | --- | --- |
110 | --- | --- | --- | --- | --- | --- | --- | --- |
111 | EI | DI | --- | --- | --- | --- | --- | --- |
hi |-------|-------|-------|-------|-------|-------|-------|-------|
*/
// The other instructions are implemented using the main CPU table
RABBITIZER_DEF_INSTR_ID(
r5900, 0x38, ei,
.operands={0}
)
RABBITIZER_DEF_INSTR_ID(
r5900, 0x39, di,
.operands={0}
)