Home | History | Annotate | Download | only in opcodes

Lines Matching defs:byte

45   /* Points to last byte.  */
60 /* Points to last byte again. */
80 int byte:8;
152 next_varybits (int bits, opcode * op, int byte)
154 int mask = op->b[byte].decodable_mask;
174 valid_varybits (int bits, opcode * op, int byte)
187 if (byte != op->vary[vn].byte)
277 int byte = i >> 3;
302 level, "", name, byte, shift, mask);
305 level, "", name, byte, mask);
307 printf ("%*s int %s AU = op[%d];\n", level, "", name, byte);
352 store_opcode_bits (opcode * op, int byte, Indirect * ind)
354 int bits = op->b[byte].decodable_bits;
358 if (!valid_varybits (bits, op, byte))
364 if (byte == op->dbytes - 1)
379 store_opcode_bits (op, byte + 1, ind[bits].u.ind);
384 if (byte < op->dbytes - 1)
385 store_opcode_bits (op, byte + 1, ind[bits].u.ind);
395 while ((bits = next_varybits (bits, op, byte)) != 0);
399 emit_indirect (Indirect * ind, int byte)
413 mask |= ind[j].u.op->b[byte].decodable_mask;
421 printf ("%*s GETBYTE ();\n", byte * 6, "");
422 printf ("%*s switch (op[%d] & 0x%02x)\n", byte * 6, "", byte, mask);
423 printf ("%*s {\n", byte * 6, "");
441 printf ("%*s case 0x%02x:\n", byte * 6, "", n);
443 for (n = byte; n < ind[j].u.op->nbytes - 1; n++)
444 printf ("%*s GETBYTE();\n", byte * 6, "");
445 dump_lines (ind[j].u.op, byte * 6 + 6, ind);
446 printf ("%*s break;\n", byte * 6, "");
449 printf ("%*s case 0x%02x:\n", byte * 6, "", j);
450 emit_indirect (ind[j].u.ind, byte + 1);
451 printf ("%*s break;\n", byte * 6, "");
456 printf ("%*s default: UNSUPPORTED(); break;\n", byte * 6, "");
457 printf ("%*s }\n", byte * 6, "");
535 log_indirect (Indirect * ind, int byte)
543 for (j = 0; j < byte; j++)
562 cur_bits[byte] = i;
563 log_indirect (ind[i].u.ind, byte + 1);
631 int i, bit, byte;
664 byte = i >> 3;
689 op->b[byte].decodable_mask |= 1 << bit;
691 if (op->dbytes < byte + 1)
692 op->dbytes = byte + 1;
698 if (op->dbytes < byte + 1)
699 op->dbytes = byte + 1;
702 op->b[byte].decodable_bits |= 1 << bit;
704 op->nbytes = byte + 1;
776 opcodes[i]->vary[nv].byte = j;
799 lprintf (sim_log, "%*s(%s) %d byte%s\n", 13 - 3 * opcodes[i]->nbytes,