This commit is contained in:
Erin 2023-11-26 04:13:52 +01:00
parent ede5d7b0bb
commit dd454f6b04
3 changed files with 1 additions and 13 deletions

View file

@ -2,17 +2,14 @@
#![deny(unsafe_op_in_unsafe_fn)]
mod eca;
mod mem;
use {
hbvm::{mem::Address, Vm, VmRunOk},
memmap2::Mmap,
std::{env::args, fs::File, io::Read, mem::MaybeUninit, process::exit},
std::{env::args, fs::File, mem::MaybeUninit, process::exit},
};
type RtVm = Vm<mem::HostMemory, 0>;
fn main() -> Result<(), Box<dyn std::error::Error>> {
eprintln!("== HB×RT (Holey Bytes Experimental Runtime) v0.1 ==");
eprintln!("[W] Currently supporting only flat images");

Binary file not shown.

View file

@ -1,9 +0,0 @@
let hello = data::str("Hello, world!");
li8(r1, 6);
li8(r2, 10);
lra16(r3, r0, hello);
li8(r4, hello.len);
eca();
tx();