Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.45 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.45 KB

LRVM Examples

This directory contains a list of examples of usage for LRVM.

All programs include a boilerplate code to create the VM and run it.

Example name Description
elapsed_time A simple program to count elapsed time
hello_world A simple program displaying Hello, world!
minimal The most simple VM
async_hw Create an asynchronous clock component living in another thread
disassemble Assemble then disassemble a LASM program
benchmark Benchmark the speed of LRVM on your computer

There are also a few advanced examples:

Example name Description
hw_detect Detect dynamically all components connected to the motherboard and mapped in the memory
brainfuck A complete BrainFuck interpreter with detailed errors output