master
decode 54 lines 2.2 KB
Raw
1 # MIPS32 Release 6 instruction set
2 #
3 # Copyright (C) 2020 Philippe Mathieu-Daudé
4 #
5 # SPDX-License-Identifier: LGPL-2.1-or-later
6 #
7 # Reference:
8 #
9 # MIPS Architecture for Programmers Volume II-A
10 # The MIPS32 Instruction Set Reference Manual, Revision 6.06
11 # (Document Number: MD00086-2B-MIPS32BIS-AFP-06.06)
12 #
13 # MIPS Architecture for Programmers Volume II-A
14 # The MIPS64 Instruction Set Reference Manual, Revision 6.06
15 # (Document Number: MD00087-2B-MIPS64BIS-AFP-6.06)
16
17 &r rs rt rd sa
18
19 &special3_crc rs rt c sz
20
21 @lsa ...... rs:5 rt:5 rd:5 ... sa:2 ...... &r
22 @crc32 ...... rs:5 rt:5 ..... c:3 sz:2 ...... &special3_crc
23
24 LSA 000000 ..... ..... ..... 000 .. 000101 @lsa
25 DLSA 000000 ..... ..... ..... 000 .. 010101 @lsa
26
27 CRC32 011111 ..... ..... 00000 ... .. 001111 @crc32
28
29 REMOVED 010011 ----- ----- ----- ----- ------ # COP1X (COP3)
30
31 REMOVED 011100 ----- ----- ----- ----- ------ # SPECIAL2
32
33 REMOVED 011010 ----- ----- ---------------- # LDL
34 REMOVED 011011 ----- ----- ---------------- # LDR
35
36 REMOVED 011111 ----- ----- ---------- 011001 # LWLE
37 REMOVED 011111 ----- ----- ---------- 011010 # LWRE
38 REMOVED 011111 ----- ----- ---------- 100001 # SWLE
39 REMOVED 011111 ----- ----- ---------- 100010 # SWRE
40
41 REMOVED 100010 ----- ----- ---------------- # LWL
42 REMOVED 100110 ----- ----- ---------------- # LWR
43 REMOVED 101010 ----- ----- ---------------- # SWL
44 REMOVED 101100 ----- ----- ---------------- # SDL
45 REMOVED 101101 ----- ----- ---------------- # SDR
46 REMOVED 101110 ----- ----- ---------------- # SWR
47
48 REMOVED 101111 ----- ----- ---------------- # CACHE
49
50 REMOVED 110000 ----- ----- ---------------- # LL
51 REMOVED 110011 ----- ----- ---------------- # PREF
52 REMOVED 110100 ----- ----- ---------------- # LLD
53 REMOVED 111000 ----- ----- ---------------- # SC
54 REMOVED 111100 ----- ----- ---------------- # SCD