diff options
Diffstat (limited to 'isa/checker.h')
| -rw-r--r-- | isa/checker.h | 4 |
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 | }; |
