♻️ Documentation updates and fn renaming

This commit is contained in:
François Autin
2023-03-29 16:42:08 +02:00
parent 45a2ee952c
commit 8629d859e4
2 changed files with 140 additions and 120 deletions

View File

@ -266,7 +266,7 @@ impl Machine {
let inst : Instruction = Instruction::new(val);
self.print_status();
println!("executing instruction : {:016x} at pc {:x}", val, self.pc);
println!("{}", instruction::print_instruction_debug(&inst, self.pc as i32));
println!("{}", instruction::instruction_debug(&inst, self.pc as i32));
let trace = Self::string_registers(self);
self.registers_trace.push_str(format!("{}\n", trace).as_str());