forked from Rativel/BurritOS
13 lines
254 B
Rust
13 lines
254 B
Rust
mod decode;
|
|
mod print;
|
|
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);
|
|
}
|