12 lines
246 B
Rust
12 lines
246 B
Rust
mod simulator;
|
|
|
|
use simulator::machine::Machine;
|
|
use simulator::{mem_cmp, loader};
|
|
|
|
fn main() {
|
|
let path = "test_file_section.txt".to_string();
|
|
let mut m = loader::load(&path, 4);
|
|
Machine::print_memory(&mut m);
|
|
Machine::run(m);
|
|
}
|