mirror of
https://github.com/guilhermewerner/machine
synced 2025-06-16 13:14:18 +00:00
Update operations
This commit is contained in:
@ -5,7 +5,7 @@ use std::fs;
|
||||
|
||||
fn main() {
|
||||
let mut vm = Machine::New([0, 0, 0, 0]);
|
||||
let code = fs::read("Examples/Simple.bin").unwrap();
|
||||
let code = fs::read("Examples/Bytecode.bin").unwrap();
|
||||
vm.LoadProgram(&code);
|
||||
vm.Execute();
|
||||
}
|
||||
|
Reference in New Issue
Block a user