mirror of
https://github.com/Decompollaborate/rabbitizer.git
synced 2025-01-17 07:11:27 +00:00
30 lines
1.2 KiB
PHP
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}
|
|
)
|