- case INST_TYPE_RD_R1_R2:
- fprintf (stream, "\t%s, %s, %s", get_field_rd (inst),
- get_field_r1(inst), get_field_r2 (inst));
- break;
- case INST_TYPE_RD_R1_IMM:
- fprintf (stream, "\t%s, %s, %s", get_field_rd (inst),
- get_field_r1(inst), get_field_imm (inst));
+ case INST_TYPE_RD_R1_R2:
+ print_func (stream, "\t%s, %s, %s", get_field_rd (&buf, inst),
+ get_field_r1 (&buf, inst), get_field_r2 (&buf, inst));
+ break;
+ case INST_TYPE_RD_R1_IMM:
+ print_func (stream, "\t%s, %s, %s", get_field_rd (&buf, inst),
+ get_field_r1 (&buf, inst), get_field_imm (&buf, inst));