about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2020-04-28 17:44:28 +0200
committerGitHub <noreply@github.com>2020-04-28 17:44:28 +0200
commitf6e487a73b36228bb07e5476b6050c96ff717e6b (patch)
tree948a84d98ffa7d5474a1f51684cbddeebed1465a
parentecd5efb6849146bd366b3ff2084e5c424fa686d0 (diff)
parentda5619ba327daaa4248451a05d99c5568138bbda (diff)
downloadmiasm-f6e487a73b36228bb07e5476b6050c96ff717e6b.tar.gz
miasm-f6e487a73b36228bb07e5476b6050c96ff717e6b.zip
Merge pull request #1201 from a-vincent/ppc-fix-mftb
Fix semantics of MFTB, prompted by @IridiumXOR
-rw-r--r--miasm/arch/ppc/sem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/ppc/sem.py b/miasm/arch/ppc/sem.py
index 7c5b43fb..670555d0 100644
--- a/miasm/arch/ppc/sem.py
+++ b/miasm/arch/ppc/sem.py
@@ -867,7 +867,7 @@ sem_dir = {
     'MFSRIN': mn_do_nop_warn,
     'MTFSF': mn_do_nop_warn,
     'MTFSF.': mn_do_nop_warn,
-    'MFTB': mn_mfmsr,
+    'MFTB': mn_mfspr,
     'MTCRF': mn_mtcrf,
     'MTMSR': mn_mtmsr,
     'MTSPR': mn_mtspr,