Simple 8 bits operations

This commit is contained in:
Werner
2021-11-16 10:52:32 -03:00
parent db10942e0b
commit 92576fbdd3
7 changed files with 743 additions and 194 deletions

14
Examples/Simple.rs Normal file
View File

@ -0,0 +1,14 @@
#![allow(non_snake_case)]
use ::Machine::*;
use std::fs;
fn main() {
let mut vm = Machine::New(0x00);
let bytecode = fs::read("Examples/Simple.bin").unwrap();
vm.LoadProgram(&bytecode, 0x00);
vm.Execute();
}