Merge branch 'decode_print' of gitlab.istic.univ-rennes1.fr:simpleos/burritos into decode_print

This commit is contained in:
Quentin Legot
2023-02-08 14:50:01 +01:00
3 changed files with 36 additions and 1 deletions

View File

@ -2,6 +2,7 @@ use std::ops::{Add, Sub};
use super::{decode::{Instruction, decode}};
use super::global::*;
/// doit disparaitre
const MEM_SIZE : usize = 4096;
@ -11,6 +12,8 @@ impl RegisterNum for i64 {}
impl RegisterNum for f32 {}
pub struct Register<U: RegisterNum> {
register: [U; 32]
}