summaryrefslogtreecommitdiff
path: root/inc/stage.h
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-30 20:08:59 -0400
committerbd <bdunahu@operationnull.com>2025-03-30 20:08:59 -0400
commit4e0d121beed51c75221ef883e0fd7ec7b0ec24f2 (patch)
treef5acda502230f630117e5f82ec52e4ce324bb734 /inc/stage.h
parentea5ce07be45c1a2d953e44ac122fbc96d18fc658 (diff)
Implementation and tests for J types
Diffstat (limited to 'inc/stage.h')
-rw-r--r--inc/stage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/stage.h b/inc/stage.h
index d1b6ee1..84d2a7b 100644
--- a/inc/stage.h
+++ b/inc/stage.h
@@ -50,6 +50,11 @@ class Stage
*/
bool get_condition(CC c);
+ /**
+ * Sets the value of the PC register.
+ */
+ void set_pc(unsigned int pc);
+
protected:
/**
* The function expected to do the majority of the work.