search for: add32_mem_reg_reg

Displaying 2 results from an estimated 2 matches for "add32_mem_reg_reg".

2017 Apr 12
2
Is there a way to correlate operation to machine instruction?
...D32_REG_IMM_REG (srcA is a register, srcB is an immediate and dst is a register) ADD32_REG_IMM_MEM (srcA is a register, srcB is an immediate and dst is a memory address) What I'd like to do is replace an operand, for example, change srcA from a REG to a MEM in ADD32_REG_REG_REG (so it would be ADD32_MEM_REG_REG). Currently, I'm simply building a new machine instruction via BuildMI with the appropriate operands and then removing the old machine instruction. My problem comes in trying to correlate the operation given the old instruction to the new instruction. How can I tell the old instruction was an...
2017 Apr 12
2
Is there a way to correlate operation to machine instruction?
...gister, srcB is an immediate and dst is a > register) > ADD32_REG_IMM_MEM (srcA is a register, srcB is an immediate and dst is a > memory address) > > What I'd like to do is replace an operand, for example, change srcA from a > REG to a MEM in ADD32_REG_REG_REG (so it would be ADD32_MEM_REG_REG). > > Currently, I'm simply building a new machine instruction via BuildMI with > the appropriate operands and then removing the old machine instruction. > > My problem comes in trying to correlate the operation given the old > instruction to the new instruction. How can I tel...