From 7ab428e3e75854749a39128a8bfcbc47b7844f87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 12 Dec 2017 20:41:35 +0100 Subject: Tiny cleanup --- qtmips_machine/alu.h | 2 +- qtmips_machine/core.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'qtmips_machine') diff --git a/qtmips_machine/alu.h b/qtmips_machine/alu.h index 95042f4..4d09013 100644 --- a/qtmips_machine/alu.h +++ b/qtmips_machine/alu.h @@ -16,7 +16,7 @@ enum AluOp : std::uint8_t { ALU_OP_SRAV, ALU_OP_JR, ALU_OP_JALR, - ALU_OP_MOVZ = 10, + ALU_OP_MOVZ, ALU_OP_MOVN, ALU_OP_MFHI = 16, ALU_OP_MTHI, diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index 6366088..e583235 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -39,13 +39,11 @@ protected: bool regwrite; std::uint8_t rwrite; // Writeback register (multiplexed between rt and rd according to regd) std::uint32_t alu_val; // Result of ALU execution - // TODO }; struct dtMemory { bool regwrite; std::uint8_t rwrite; std::uint32_t alu_val; - // TODO }; struct dtFetch fetch(); -- cgit v1.2.3