Add thread structure

This commit is contained in:
Quentin Legot
2023-02-28 14:43:40 +01:00
parent fd6b22a2f3
commit e422e65767
6 changed files with 116 additions and 1 deletions

View File

@ -4,6 +4,9 @@ use super::{decode::{Instruction, decode}};
use super::global::*;
use std::fs::File;
pub const NUM_INT_REGS: usize = 32;
pub const NUM_FP_REGS: usize = 32;
/// doit disparaitre
const MEM_SIZE : usize = 4096;