Skip to content

BertilBraun/Mima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mima

An emulator of the "minimal machine" ("mima") used as a processor model for learning purposes. This project implements a cli compiler for its instructions as well as a virtual runtime to execute and debug mima programs.

The Emulator executable is a cli application, so try it out by just running it.

Running

  • Go ahead and write a Program using the existing mima commands (you can check out 'example/Example.mima' for reference)
  • Get the latest Release and Start the Program
  • Enter the path to your Program and see the emulation run

Installation

To run it yourself, you need to have C++ installed

Otherwise build it with clang or something similar, idk how :)

Commands

  • LDC
  • LDV
  • STV
  • ADD
  • AND
  • OR
  • XOR
  • EQL
  • JMP
  • JMN
  • HALT
  • NOT
  • RAR
  • LDIV
  • STIV
  • PRINTAKKU
  • PRINT