diff --git a/src/frontend/translate/translate_arm/coprocessor.cpp b/src/frontend/translate/translate_arm/coprocessor.cpp index 3227f55b..60728e69 100644 --- a/src/frontend/translate/translate_arm/coprocessor.cpp +++ b/src/frontend/translate/translate_arm/coprocessor.cpp @@ -33,7 +33,7 @@ bool ArmTranslatorVisitor::arm_LDC(Cond cond, bool p, bool u, bool d, bool w, Re const bool index = p; const bool add = u; const bool wback = w; - const bool has_option = !p & !w & u; + const bool has_option = !p && !w && u; // LDC{2}{L} , , [, #+/-]{!} // LDC{2}{L} , , [], #+/- @@ -130,7 +130,7 @@ bool ArmTranslatorVisitor::arm_STC(Cond cond, bool p, bool u, bool d, bool w, Re const bool index = p; const bool add = u; const bool wback = w; - const bool has_option = !p & !w & u; + const bool has_option = !p && !w && u; // STC{2}{L} , , [, #+/-]{!} // STC{2}{L} , , [], #+/-