diff options
Diffstat (limited to 'src/register_file.rs')
-rw-r--r-- | src/register_file.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/register_file.rs b/src/register_file.rs index 6437eed..0f6f6a4 100644 --- a/src/register_file.rs +++ b/src/register_file.rs @@ -23,7 +23,7 @@ pub struct RegisterFile { impl RegisterFile { pub fn new() -> RegisterFile { RegisterFile { - registers: [0; 32], + registers: [isa::Word(0); 32], } } |