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-11-09 17:35:16 +01:00
|
|
|
use machine::Machine;
|
2022-10-19 16:39:38 +02:00
|
|
|
|
2022-10-05 16:30:21 +02:00
|
|
|
fn main() {
|
2022-11-09 17:35:16 +01:00
|
|
|
let mut m = Machine::_init_machine();
|
2022-11-09 16:47:26 +01:00
|
|
|
m.instructions[0] = 0x37;
|
2022-11-16 16:52:52 +01:00
|
|
|
Machine::one_instruction(&mut m);
|
2022-10-05 16:30:21 +02:00
|
|
|
}
|