AVM
- 1 Devlogs
- 6 Total hours
AVM is exactly what it stands for: A Virtual Machine. It's built in Python, has 100mb of RAM, and a custom instructions set.
AVM is exactly what it stands for: A Virtual Machine. It's built in Python, has 100mb of RAM, and a custom instructions set.
The screenshot shown contains the code implementation, since there is no GUI, Output, or text printing done yet. :)
This devlog was just getting the basic instructions and assembler working. These are the commands implemented so far:
STOP
REG
COPY
LOAD
STORE
ADD
SUB
MUL
DIV
Other things done:
The VM is still missing a few key commands, such as
JMPTRUE
JMPFALSE
LBL
ECMP
GCMP
LCMP
But after implementing those, you can basically make any program! I’m hoping to ship it with something quite large, like a C compiler or a small OS. But that’s still in the future.
Anyways, that’s it from me, and have a good rest of your day/night!