Skip to content

kimlar/Ding

Repository files navigation

Ding

Ding demostration Ding scripting Ding binary Ding instruction set A virtual machine (VM) that simulates a virtual CPU with a custom instruction set. This CPU can load a program compiled as bytecode. The sample Ding program is placing value 4 into register slot 0, and then placing 256 into register slot 1. Then it call the add-function which adds register 0 and register 1, then place the result in register 0. And finally we print the value 260 to the screen. If you want you could make your own Ding program by using the instruct-set. You need to create the binary by hand since there are no compilers yet made.

Tags: C++, VM, Bytecode, CPU

About

A virtual machine (VM) that simulates a virtual CPU with a custom instruction set.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages