~jordanreger/majel

a virtual machine

a73077f refactor: minor bug fixes

a month ago

a72a4b9 refactor: update readme

2 months ago

#majel

a virtual machine

#Opcodes

┌──────┬───────────────────────────────────────────┐
│ PUSH │ push a number to the stack                │
│  POP │ pop a number off the stack and returns it │
│ PEEK │ return a number from the stack            │
│ DISP │ display all items in the stack            │
│  ADD │ add top two items on stack                │
│ MULT │ multiply top two items on stack           │
│  DUP │ duplicates top of stack                   │
└──────┴───────────────────────────────────────────┘

#dev

this vm is written completely in c. the conventional file extension is .xm, but you can really pass anything...