about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorVikas Gupta <vikasgupta.nit@gmail.com>2018-09-27 23:23:33 +0800
committerVikas Gupta <vikasgupta.nit@gmail.com>2018-09-27 23:23:33 +0800
commit17dc7eb2847265ee0bb196503bb9f92cef58f6ab (patch)
tree10e9821c4dd82813f9214d484f30dcc7e65c66ef
parentab7f1f35d80841268760919d1d7a2b60df9b1dce (diff)
downloadmiasm-17dc7eb2847265ee0bb196503bb9f92cef58f6ab.tar.gz
miasm-17dc7eb2847265ee0bb196503bb9f92cef58f6ab.zip
MSR and MRS exception have instruction names interchanged
Diffstat (limited to '')
-rw-r--r--miasm2/arch/aarch64/sem.py4
-rw-r--r--miasm2/arch/arm/sem.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/miasm2/arch/aarch64/sem.py b/miasm2/arch/aarch64/sem.py
index 4247a47f..3f70d7a7 100644
--- a/miasm2/arch/aarch64/sem.py
+++ b/miasm2/arch/aarch64/sem.py
@@ -723,7 +723,7 @@ def mrs(ir, insr, arg1, arg2, arg3, arg4, arg5):
         out.append(nf)
         e.append(ExprAff(arg1, ExprCompose(*out).zeroExtend(arg1.size)))
     else:
-        raise NotImplementedError("MSR not implemented")
+        raise NotImplementedError("MRS not implemented")
     return e, []
 
 def msr(ir, instr, arg1, arg2, arg3, arg4, arg5):
@@ -735,7 +735,7 @@ def msr(ir, instr, arg1, arg2, arg3, arg4, arg5):
         e.append(ExprAff(cf, arg5[29:30]))
         e.append(ExprAff(of, arg5[28:29]))
     else:
-        raise NotImplementedError("MRS not implemented")
+        raise NotImplementedError("MSR not implemented")
     return e, []
 
 
diff --git a/miasm2/arch/arm/sem.py b/miasm2/arch/arm/sem.py
index 7dca6242..2cfc2a17 100644
--- a/miasm2/arch/arm/sem.py
+++ b/miasm2/arch/arm/sem.py
@@ -525,7 +525,7 @@ def mrs(ir, instr, a, b):
         out.append(nf)
         e.append(ExprAff(a, ExprCompose(*out)))
     else:
-        raise NotImplementedError("MSR not implemented")
+        raise NotImplementedError("MRS not implemented")
     return e, []
 
 def msr(ir, instr, a, b):
@@ -536,7 +536,7 @@ def msr(ir, instr, a, b):
         e.append(ExprAff(cf, b[29:30]))
         e.append(ExprAff(of, b[28:29]))
     else:
-        raise NotImplementedError("MRS not implemented")
+        raise NotImplementedError("MSR not implemented")
     return e, []