summaryrefslogtreecommitdiff
path: root/isa/checker.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--isa/checker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/isa/checker.h b/isa/checker.h
index 571bbc8..96460cf 100644
--- a/isa/checker.h
+++ b/isa/checker.h
@@ -52,4 +52,7 @@ struct checker {
52 ctlregs.fill(0); 52 ctlregs.fill(0);
53 } 53 }
54 void execute(); 54 void execute();
55 bool done() {
56 return ctlregs[HALTED] && system.done();
57 }
55}; 58};