You are browsing as a guest. Sign up (or log in) to start making projects!

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.

Open comments for this post

5h 40m 3s logged

Devlog #1 for AVM (A Virtual Machine)

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:

  • Registers (32 general purpose,)
  • 50MB of RAM (Single-width), though it can be scaled further
  • Basic label engine

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!

0
0
3

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…