diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-12-17 07:50:18 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2018-12-17 07:50:18 +0100 |
| commit | c683cac37bdff94c7c76a596fd266a8c96ac6130 (patch) | |
| tree | 46962fb7620249dbcfb1b6f39dd2b0efb94af2cc | |
| parent | c392534a4d51759cf8ac349ea873e25b424f7472 (diff) | |
| download | miasm-c683cac37bdff94c7c76a596fd266a8c96ac6130.tar.gz miasm-c683cac37bdff94c7c76a596fd266a8c96ac6130.zip | |
Aarch64: fix bics
| -rw-r--r-- | miasm2/arch/aarch64/sem.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/miasm2/arch/aarch64/sem.py b/miasm2/arch/aarch64/sem.py index 1b591f74..5f7a6fc6 100644 --- a/miasm2/arch/aarch64/sem.py +++ b/miasm2/arch/aarch64/sem.py @@ -289,13 +289,12 @@ def bic(arg1, arg2, arg3): def bics(ir, instr, arg1, arg2, arg3): e = [] tmp1, tmp2 = arg2, (~extend_arg(arg2, arg3)) + res = tmp1 & tmp2 e += [ExprAssign(zf, ExprOp('FLAG_EQ_AND', tmp1, tmp2))] e += update_flag_nf(res) e.append(ExprAssign(arg1, res)) - - e += null_flag_co() return e, [] |