You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
234 B
16 lines
234 B
// SPDX-License-Identifier: MIT
|
|
// Copyright Murad Karammaev, Nikita Kuzmin
|
|
|
|
mod cpu;
|
|
mod instruction;
|
|
|
|
use cpu::*;
|
|
|
|
fn main() {
|
|
let mut cpu = Cpu::new(&[]);
|
|
loop {
|
|
if cpu.step() {
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|