5 char *dtvarnames[DTNVARS] = {
19 [DTV_MACHNO] "machno",
28 static char *opcodes[] = {
59 ins = va_arg(f->args, u32int);
83 fmtprint(f, "%s R%d, R%d, R%d", opcodes[op], a, b, c);
87 x = (s64int)ins << 40 >> 54 << (ins >> 8 & 63);
88 fmtprint(f, "%s $%#llx, R%d", opcodes[op], x, c);
94 fmtprint(f, "%s R%d, R%d, +%d", opcodes[op], a, b, c);
97 if(a >= DTNVARS || dtvarnames[a] == nil)
98 fmtprint(f, "%s V%d, R%d", opcodes[op], a, b);
100 fmtprint(f, "%s %s, R%d", opcodes[op], dtvarnames[a], b);
104 fmtprint(f, "%s R%d, $%d, R%d", opcodes[op], a, b, c);
107 fmtprint(f, "RET R%d", a);
110 fmtprint(f, "??? (%#.8ux)", op);