summaryrefslogtreecommitdiff
path: root/inc/ex.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-30 12:48:25 -0400
committerbd <bdunahu@operationnull.com>2025-03-30 12:48:25 -0400
commit916949133a5797772dcd6966e469c12230ffc3fa (patch)
treed6385d1021752c8946c8765166bd8f5519b7ceb8 /inc/ex.h
parent6557e7e623140871968776429d241570002a65f5 (diff)
untested ALU type R operations
Diffstat (limited to 'inc/ex.h')
-rw-r--r--inc/ex.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/inc/ex.h b/inc/ex.h
index 4edf873..19c3ac9 100644
--- a/inc/ex.h
+++ b/inc/ex.h
@@ -19,19 +19,13 @@ class EX : public Stage
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<void(signed int &s1, signed int &s2)>>
+ std::function<void(signed int &s1, signed int s2)>>
instr_map;
};