summaryrefslogtreecommitdiff
path: root/isa/checker.h
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-10-14 11:48:14 -0700
committerJulian Blake Kongslie2022-10-14 11:48:14 -0700
commit66bf7bb81fe0f408d3348a7a1b33066d1f369216 (patch)
tree08bf8e02dfbd9bb54aa7c1c95c548f7c600f5da5 /isa/checker.h
parentTrivial infinite increment-and-loop as sample image. (diff)
downloadbiggolf-66bf7bb81fe0f408d3348a7a1b33066d1f369216.tar.xz
Actual palbart-compatible rim/bin loader
Diffstat (limited to '')
-rw-r--r--isa/checker.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/isa/checker.h b/isa/checker.h
index 70393b6..1ea572b 100644
--- a/isa/checker.h
+++ b/isa/checker.h
@@ -43,5 +43,9 @@ struct checker {
43 instruction_context inst; 43 instruction_context inst;
44 bool halted = false; 44 bool halted = false;
45 funcmem mem; 45 funcmem mem;
46 checker()
47 {
48 ctlregs.fill(0);
49 }
46 void execute(); 50 void execute();
47}; 51};