2022-10-19 16:39:38 +02:00
|
|
|
mod decode;
|
2022-10-26 15:06:37 +02:00
|
|
|
mod print;
|
2022-11-09 15:59:05 +01:00
|
|
|
mod machine;
|
2022-10-19 16:39:38 +02:00
|
|
|
|
2022-10-05 16:30:21 +02:00
|
|
|
fn main() {
|
2022-10-19 16:39:38 +02:00
|
|
|
let instr = decode::decode(98);
|
2022-10-26 15:06:37 +02:00
|
|
|
println!("{}", print::print(instr, 0));
|
2022-11-09 16:47:26 +01:00
|
|
|
|
|
|
|
let mut m = machine::Machine::_init_machine();
|
|
|
|
m.instructions[0] = 0x37;
|
|
|
|
machine::Machine::oneInstruction(m);
|
2022-10-05 16:30:21 +02:00
|
|
|
}
|