diff options
| author | Camille Mougey <commial@gmail.com> | 2018-03-15 10:28:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-15 10:28:23 +0100 |
| commit | edabfcda0fa8c0dd8ab3017853b375b1ee24b754 (patch) | |
| tree | 9bbc5a80ce59f49e1a20a46dc269066e45d347e4 | |
| parent | c1c36aa2f72b4c19dffaccba5a251843f1b48c9a (diff) | |
| parent | 2e2dc2a14de6f0e181fa730cc1eb959b44ca5f75 (diff) | |
| download | miasm-edabfcda0fa8c0dd8ab3017853b375b1ee24b754.tar.gz miasm-edabfcda0fa8c0dd8ab3017853b375b1ee24b754.zip | |
Merge pull request #701 from a-vincent/fix-ppc-stores-r0
Fix the 011111 group of store instructions wrt r0
| -rw-r--r-- | miasm2/arch/ppc/arch.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/miasm2/arch/ppc/arch.py b/miasm2/arch/ppc/arch.py index 87147f1c..672c0c6a 100644 --- a/miasm2/arch/ppc/arch.py +++ b/miasm2/arch/ppc/arch.py @@ -653,8 +653,9 @@ ppcop("slogic2", [bs_name(l=6, name=slogic2_name), rs, ra, u16imm], [ra, rs, u16imm]) ppcop("store1", [bs('011111'), rs, ra_or_0, rb, - bs_name(l=11, name=store1_name_u)]) -ppcop("store1u", [bs('011111'), rs, ra, rb, bs_name(l=11, name=store1_name)]) + bs_name(l=11, name=store1_name)]) +ppcop("store1u", [bs('011111'), rs, ra, rb, + bs_name(l=11, name=store1_name_u)]) ppcop("store2", [bs('10'), bs_name(l=4, name=store2_name), rs, ra_noarg, dregimm]) |