From 916949133a5797772dcd6966e469c12230ffc3fa Mon Sep 17 00:00:00 2001 From: bd Date: Sun, 30 Mar 2025 12:48:25 -0400 Subject: untested ALU type R operations --- inc/ex.h | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'inc/ex.h') diff --git a/inc/ex.h b/inc/ex.h index 4edf873..19c3ac9 100644 --- a/inc/ex.h +++ b/inc/ex.h @@ -18,20 +18,14 @@ class EX : public Stage InstrDTO *advance(Response p) override; private: - /** - * Sets the (over|under)flow condition code if adding `a` and `b` results in - * either. - * @param the first operand - * @param the second operand - */ - void overflow_guard(signed int a, signed int b); /** * Maps each mnemonic to a function which carries out the instruction's base * logic. + * All instructions store the result into s1. */ std::unordered_map< Mnemonic, - std::function> + std::function> instr_map; }; -- cgit v1.2.3