def _translate_cmp(self, tb, instruction):
        # Flags Affected
        # The CF, OF, SF, ZF, AF, and PF flags are set according to the
        # result.

        oprnd0 = tb.read(instruction.operands[0])
        oprnd1 = tb.read(instruction.operands[1])

        tmp0 = tb.temporal(oprnd0.size/2)

        tb.add(self._builder.gen_sub(oprnd0, oprnd1, tmp0))

        # Flags : CF, OF, SF, ZF, AF, PF
        self._update_cf(tb, oprnd0, oprnd1, tmp0)
        self._update_of_sub(tb, oprnd0, oprnd1, tmp0)
        self._update_sf(tb, oprnd0, oprnd1, tmp0)
        self._update_zf(tb, oprnd0, oprnd1, tmp0)
        self._update_af(tb, oprnd0, oprnd1, tmp0)
        self._update_pf(tb, oprnd0, oprnd1, tmp0)

# "Decimal Arithmetic Instructions"
# ============================================================================ #

# "Logical Instructions"
# ============================================================================ #
dataset/ETHPy150Open programa-stic/barf-project/barf/barf/arch/x86/x86translator.py/X86Translator._translate_cmp/operator `*` -> `/`