about summary refs log tree commit diff stats
path: root/test
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-05-23 12:15:15 +0200
committerGitHub <noreply@github.com>2020-05-23 12:15:15 +0200
commit560ea15cfdf825a1824893cc6d0891ede72f865e (patch)
tree4ea1e7927351200f45f1b6e3269d3fd311f4584c /test
parent8d26ba77b13fe86ef8be11bfb0410c0bfd4616ae (diff)
parentfb31ac0edc54d600579549153d631f3468215dd8 (diff)
downloadmiasm-560ea15cfdf825a1824893cc6d0891ede72f865e.tar.gz
miasm-560ea15cfdf825a1824893cc6d0891ede72f865e.zip
Merge pull request #1229 from IridiumXOR/mips_new_ops
Mips new opcodes + bugfix
Diffstat (limited to 'test')
-rw-r--r--test/arch/mips32/arch.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/arch/mips32/arch.py b/test/arch/mips32/arch.py
index e14eda8a..de6d4547 100644
--- a/test/arch/mips32/arch.py
+++ b/test/arch/mips32/arch.py
@@ -231,6 +231,27 @@ reg_tests_mips32 = [
      "45020008"),
     ("XXXXXXXX    BC1TL      FCC0, 0xB8",
      "4503002D"),
+
+    ("XXXXXXXX    CLZ        K0, K1",
+     "737AD020"),
+
+    ("XXXXXXXX    LL         A0, 0x123(A1)",
+     "C0A40123"),
+    ("XXXXXXXX    SC         A1, 0x123(A0)",
+     "E0850123"),
+
+    ("XXXXXXXX    SYNC       0x19",
+     "0000064F"),
+    ("XXXXXXXX    TLBR       ",
+     "42000001"),
+
+    ("XXXXXXXX    ERET       ",
+     "42000018"),
+
+    ("XXXXXXXX    MTHI       A0",
+     "00800011"),
+    ("XXXXXXXX    MTLO       A1",
+     "00A00013")
 ]