- case JSR: fprintf (stream, "\t%s", name); break;
- case OC: fprintf (stream, "\t%s, %s", name, crname[(inst >> 4) & 0x1F]); break;
- case O1R1: fprintf (stream, "\t%s, r1", name); break;
- case O2: fprintf (stream, "\t%s, %s", name, grname[(inst >> 4) & 0xF]); break;
- case X1: fprintf (stream, "\tr1, %s", name); break;
- case OI: fprintf (stream, "\t%s, %d", name, ((inst >> 4) & 0x1F) + 1); break;
- case RM: fprintf (stream, "\t%s-r15, (r0)", name); break;
- case RQ: fprintf (stream, "\tr4-r7, (%s)", name); break;
+ case JSR:
+ (*print_func) (stream, "\t%s", name);
+ break;
+
+ case OC:
+ (*print_func) (stream, "\t%s, %s", name, crname[(inst >> 4) & 0x1F]);
+ break;
+
+ case O1R1:
+ (*print_func) (stream, "\t%s, r1", name);
+ break;
+
+ case MULSH:
+ case O2:
+ (*print_func) (stream, "\t%s, %s", name, grname[(inst >> 4) & 0xF]);
+ break;
+
+ case X1:
+ (*print_func) (stream, "\tr1, %s", name);
+ break;
+
+ case OI:
+ (*print_func) (stream, "\t%s, %d", name, ((inst >> 4) & 0x1F) + 1);
+ break;
+
+ case RM:
+ (*print_func) (stream, "\t%s-r15, (r0)", name);
+ break;
+
+ case RQ:
+ (*print_func) (stream, "\tr4-r7, (%s)", name);
+ break;
+