An open API service indexing awesome lists of open source software.

https://github.com/bancedev/tinyvm

A virtual machine for a minimal computer written in less than 150 lines of C
https://github.com/bancedev/tinyvm

Last synced: about 1 year ago
JSON representation

A virtual machine for a minimal computer written in less than 150 lines of C

Awesome Lists containing this project

README

          

# TinyVM





contributors
license
forks


TinyVM is an implementaion of a very minimal computer as a way to learn about computer architecture and how instruction sets for CPUs can be emulated. The TinyCPU being virtualized has only 6 registers, 4Kb of ROM memory, and 4 instructions. The entire VM is written in just over 100 lines of C code and is all in a single file. I hope this VM is able to teach people a little about computer architecture, assembly languages, and high level CPU design.

## Compiling/Installation

```
git clone https://github.com/BanceDev/tinyvm.git
cd tinyvm
gcc -o tinyvm tinyvm.c
```

## License

This project is licensed under the GPLv3 License.

For more details, see the [LICENSE](./LICENSE) file.