about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAymeric Vincent <13720957+a-vincent@users.noreply.github.com>2020-04-28 11:27:22 +0200
committerAymeric Vincent <13720957+a-vincent@users.noreply.github.com>2020-04-28 11:27:22 +0200
commitda5619ba327daaa4248451a05d99c5568138bbda (patch)
tree17d2418768e497dea999d6f830949766f380d050
parent8d6eb695d5511a278389b1490feee281e1ffd817 (diff)
downloadmiasm-da5619ba327daaa4248451a05d99c5568138bbda.tar.gz
miasm-da5619ba327daaa4248451a05d99c5568138bbda.zip
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,