Home | History | Annotate | Download | only in src

Lines Matching refs:opcode

55                                 int opcode) {
56 g_exercise_code_table_->inst1[opcode] = inst1;
57 g_exercise_code_table_->mode1[opcode] = mode1;
58 g_exercise_code_table_->size1[opcode] = (inst1 == VCD_NOOP) ? 0 : size1;
59 g_exercise_code_table_->inst2[opcode] = inst2;
60 g_exercise_code_table_->mode2[opcode] = mode2;
61 g_exercise_code_table_->size2[opcode] = (inst2 == VCD_NOOP) ? 0 : size2;
66 int opcode = 0;
85 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 0, opcode++);
86 AddExerciseOpcode(inst1, mode1, 0, inst2, mode2, 255, opcode++);
87 AddExerciseOpcode(inst1, mode1, 255, inst2, mode2, 0, opcode++);
88 AddExerciseOpcode(inst1, mode1, 255, inst2, mode2, 255, opcode++);
93 CHECK_EQ(VCDiffCodeTableData::kCodeTableSize, opcode);
120 // squared (because there are two instructions per opcode), makes
217 ExpectByte(0x04); // ADD(3) opcode
234 ExpectByte(0x04); // Opcode: NOOP + ADD(0)
253 ExpectByte(0x00); // RUN(0) opcode
271 ExpectByte(0x08); // Opcode: NOOP + RUN(0)