The official virtual machine/instruction set for ivm.\ See the ivm wiki on GitHub for more information.
ivm is an experimental, well-documented, and expansion-ready virtual machine/instruction set written purely in Rust.
ivm provides a fairly medium level Instruction wrapper, which makes porting your language to ivm easier than imaginable.
When combined with ivm-compile, we can achieve some pretty simple results with impressive ease.
```rust let program_options = ProgramOptions::new(options::CCFV, MemoryPointerLength::X32b);
let instructions = [ Instruction::Push(ReadOperation::Local(b"Hello, world!\n".tovec())), Instruction::ExternCall(ivmextx32::STDOUTWRITE), Instruction::ExternCall(ivmextx32::STDOUT_FLUSH), ];
let bytecode = ivmcompile::compileall(&program_options, instructions);
let mut vm = VmInstance::init(program_options);
vm.introduce(bytecode); vm.continue_execution().unwrap(); ```