instr->dst_operand.size = operand_width;
- ret = decode_rm_operand(core, instr_ptr, &(instr->dst_operand), ®_code);
+ ret = decode_rm_operand(core, instr_ptr, instr, &(instr->dst_operand), ®_code);
if (ret == -1) {
PrintError("Error decoding operand\n");
instr->dst_operand.size = operand_width;
- ret = decode_rm_operand(core, instr_ptr, &(instr->dst_operand), ®_code);
+ ret = decode_rm_operand(core, instr_ptr, instr, &(instr->dst_operand), ®_code);
if (ret == -1) {
PrintError("Error decoding operand\n");
uint8_t reg_code = 0;
instr->src_operand.size = operand_width;
- ret = decode_rm_operand(core, instr_ptr, &(instr->src_operand), ®_code);
+ ret = decode_rm_operand(core, instr_ptr, instr, &(instr->src_operand), ®_code);
if (ret == -1) {
PrintError("Error decoding operand\n");
uint8_t reg_code = 0;
instr->src_operand.size = operand_width;
- ret = decode_rm_operand(core, instr_ptr, &(instr->src_operand), ®_code);
+ ret = decode_rm_operand(core, instr_ptr, instr, &(instr->src_operand), ®_code);
if (ret == -1) {
PrintError("Error decoding operand\n");