diff --git a/InstructionSets/x86/Decoder.cpp b/InstructionSets/x86/Decoder.cpp index ae8447e14..d4db0b021 100644 --- a/InstructionSets/x86/Decoder.cpp +++ b/InstructionSets/x86/Decoder.cpp @@ -849,7 +849,7 @@ std::pair::InstructionT> Decoder::decode(con default: assert(false); } - if(expects_sib && (source_ == Source::Indirect | destination_ == Source::Indirect)) { + if(expects_sib && (source_ == Source::Indirect || destination_ == Source::Indirect)) { phase_ = Phase::ScaleIndexBase; } else { phase_ = (displacement_size_ != DataSize::None || operand_size_ != DataSize::None) ? Phase::DisplacementOrOperand : Phase::ReadyToPost;