Skip to content

traplol/simple-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-vm

a very simple virtual machine and assembler.

simple-vm is a 32-bit register based virtual machine. It shares similarities to a MIPS architecture because it has a total of 23 registers and all of the instructions are a fixed width of 32 bits.

usage

$ git clone https://github.com/traplol/simple-vm.git
$ cd simple-vm
$ make
$ cd bin
$ ./assembler ../examples/recursive.asm -o recursive.bin
$ ./vm recursive.bin
120

docs

Binary file format

Instruction layout

Instructions

About

a very simple virtual machine and assembler.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published