fix jal, branch instr & LD. + better print for machine status

This commit is contained in:
Baptiste
2023-03-06 13:50:45 +01:00
parent abff8966b5
commit d352f5dcd2
2 changed files with 24 additions and 12 deletions

View File

@ -5,7 +5,7 @@ use simulator::mem_cmp;
fn main() {
let mut m = Machine::_init_machine();
let path = "memoryComp.txt".to_string();
let path = "memoryJump.txt".to_string();
let checker = mem_cmp::Mem_Checker::from(&path);
mem_cmp::Mem_Checker::fill_memory_from_Mem_Checker(&checker, &mut m);
//mem_cmp::Mem_Checker::print_Mem_Checker(&checker);