12 lines
299 B
Rust
12 lines
299 B
Rust
// SPDX-License-Identifier: LGPL-3.0-or-later
|
|
// Copyright (c) 2024 Patrick_Pluto
|
|
|
|
mod devices;
|
|
|
|
fn main() {
|
|
let mut instance: devices::ExampleCPU = devices::ExampleCPU::create_instance(true, [0; 256]);
|
|
// change the instructions here
|
|
loop {
|
|
instance.fetch_and_decode();
|
|
}
|
|
}
|