

def _translate_cdqe(self, tb, instruction):
    oprnd1 = ReilRegisterOperand('eax', 32)
    oprnd2 = ReilRegisterOperand('rax', 64)
    tmp0 = tb.temporal(oprnd1.size)
    tb.add(self._builder.gen_sext(oprnd1, tmp0))
    tb.add(self._builder.gen_sext(tmp0, oprnd2))

dataset/ETHPy150Open programa-stic/barf-project/barf/barf/arch/x86/x86translator.py X86Translator._translate_cdqe/original