about summary refs log tree commit diff stats
path: root/test/arch/mips32/arch.py
diff options
context:
space:
mode:
authorIridiumXOR <oliveriandrea@gmail.com>2020-05-22 18:37:38 +0200
committerIridiumXOR <oliveriandrea@gmail.com>2020-05-22 18:37:38 +0200
commitfb31ac0edc54d600579549153d631f3468215dd8 (patch)
tree70ce7ab47194fca0d4ffecb969c46b1599aac839 /test/arch/mips32/arch.py
parent30cee4528c5b1e9747370b6207db38b3ed56a609 (diff)
downloadmiasm-fb31ac0edc54d600579549153d631f3468215dd8.tar.gz
miasm-fb31ac0edc54d600579549153d631f3468215dd8.zip
Add test cases and fix args order
Diffstat (limited to '')
-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")
 ]