From 1ef78a15bdac490cf5e0b74fcde8539719f4bfe6 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 18 Feb 2019 20:36:06 +0100 Subject: Correct ADD operation to map to ALU variant with overflow checking. Signed-off-by: Pavel Pisa --- qtmips_machine/instruction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_machine') diff --git a/qtmips_machine/instruction.cpp b/qtmips_machine/instruction.cpp index 7006772..d0e0a67 100644 --- a/qtmips_machine/instruction.cpp +++ b/qtmips_machine/instruction.cpp @@ -142,7 +142,7 @@ static const struct InstructionMap alu_instruction_map[] = { IM_UNKNOWN, // 29 IM_UNKNOWN, // 30 IM_UNKNOWN, // 31 - {"ADD", IT_R, ALU_OP_ADDU, NOMEM, nullptr, + {"ADD", IT_R, ALU_OP_ADD, NOMEM, nullptr, .flags = FLAGS_ALU_T_R_STD}, // 32 {"ADDU", IT_R, ALU_OP_ADDU, NOMEM, nullptr, .flags = FLAGS_ALU_T_R_STD}, -- cgit v1.2.3