Skip to content
/ RVM Public

32bit stack-based big-endian virtual machine performing RVM architecture-specific operands

Notifications You must be signed in to change notification settings

Rycooop/RVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RVM

A lightweight RISC style architecture and virtual machine designed to execute basic programs in a cross-platform friendly manner. This machine follows the traditional fetch-decode-execute CPU sequence, and attempts to emulate any modern day CPU.

This virtual machine is stack based, utilizing a call stack and stack frames for function calls. It also reads 32 bit numbers in big-endian notation, performing arithmetic operations as well as RVM architecture-specific operands.

After veryfying the file extension .rvm and first three file bytes in ASCII as RVM, the machine will parse the header, find the entry point, and begin execution. I have provided a sample file which executes basic arithmetic, then jumps back to the beginning of the function.

About

32bit stack-based big-endian virtual machine performing RVM architecture-specific operands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published