Fixed naming conventions not followed

This commit is contained in:
François Autin 2023-03-08 13:05:59 +01:00
parent 08bad49558
commit 58890d85d1
No known key found for this signature in database
GPG Key ID: 343F5D382E1DD77C
2 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,8 @@ use simulator::mem_cmp;
fn main() {
let mut m = Machine::_init_machine();
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);
let checker = mem_cmp::MemChecker::from(&path);
mem_cmp::MemChecker::fill_memory_from_mem_checker(&checker, &mut m);
//mem_cmp::Mem_Checker::print_Mem_Checker(&checker);
//Machine::print_memory(&mut m, 0x400000, 0x405000);
//Machine::run(m);

View File

@ -7,7 +7,6 @@ use crate::Machine;
const MEM_SIZE : usize = 4096;
/* TRUCS MANQUANTS
* Verifier qu'il y a un nombre pair de caractere hexa dans la ligne correspondante d'une section du fichier source
* Sinon on ne peut pas automatiquement remplir chaque octect car 2 hexa = 1 octet