Giter Site home page Giter Site logo

genkinger / mima-interpreter Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 2.68 MB

simple (semi-functional) interpreter for the pseudo assembly language used by the "Mima"

License: BSD 3-Clause "New" or "Revised" License

Kotlin 100.00%
kit mima interpreter assembly karlsruhe gbi tgi

mima-interpreter's Introduction

What is this and why should I be interested ?

This project was started out of pure boredom and the urge to learn the Kotlin programming language.

It tries to interpret the assembly language used at the KIT's ("Karlsruher Institut fuer Technologie") GBI/TGI courses, to teach the low level concepts of how computer processors work. This program is very much a WIP.

If you are a student at said institute, this project might prove to be useful in helping you understand the basic concepts of assembly languages, or to "debug" code that you wrote for an assignment.

Usage

Flags

Flag Effect
-d starts the interpreter in a sort of "debug" mode in which you can step through the code line by line
-s prints a "summary" at the end of execution (Memory view)

Debug mode

Input Functionality
r,reg,register,registers prints the contents of the registers
d,dbg,debug prints the contents of the entire memory
x [address] examines the contents in memory at address
"Enter" step (increase the IP by one)

Problems

  • currently operates with 32bit address sizes instead of 24bit

TODO

  • make things prettier
  • implement calls and returns
  • write a small handbook / manual explaining the language
  • to make usage easier a GUI would help

Contributions

Contributions are very welcome

mima-interpreter's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.