first instruction in oneInstruction()

This commit is contained in:
Baptiste
2022-11-09 16:47:26 +01:00
parent f9af5c138f
commit a341493526
2 changed files with 32 additions and 9 deletions

View File

@ -5,4 +5,8 @@ mod machine;
fn main() {
let instr = decode::decode(98);
println!("{}", print::print(instr, 0));
let mut m = machine::Machine::_init_machine();
m.instructions[0] = 0x37;
machine::Machine::oneInstruction(m);
}