diff options
-rw-r--r-- | qtmips_machine/instruction.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qtmips_machine/instruction.cpp b/qtmips_machine/instruction.cpp index 21eaacb..fe283d9 100644 --- a/qtmips_machine/instruction.cpp +++ b/qtmips_machine/instruction.cpp @@ -441,7 +441,8 @@ static const struct InstructionMap instruction_map[] = { .flags = FLAGS_ALU_I_LOAD}, IM_UNKNOWN, // 49 IM_UNKNOWN, // 50 - IM_UNKNOWN, // 51 + {"PREF", IT_I, NOALU, NOMEM, nullptr, // PREF + .flags = IMF_SUPPORTED}, IM_UNKNOWN, // 52 IM_UNKNOWN, // 53 IM_UNKNOWN, // 54 @@ -928,8 +929,6 @@ Instruction Instruction::from_string(QString str, bool *pok) { return Instruction(code); } - printf("not found\n"); - if (str == "NOP") ok = true; if (pok != nullptr) |