https://github.com/alifarazz/mipslol
:moyai: A MIPS simulator with <3
https://github.com/alifarazz/mipslol
c interpreter mips-simulator
Last synced: 6 months ago
JSON representation
:moyai: A MIPS simulator with <3
- Host: GitHub
- URL: https://github.com/alifarazz/mipslol
- Owner: alifarazz
- License: mit
- Archived: true
- Created: 2018-04-19T19:29:02.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-26T16:09:14.000Z (over 7 years ago)
- Last Synced: 2024-11-17T16:43:08.847Z (about 1 year ago)
- Topics: c, interpreter, mips-simulator
- Language: C
- Homepage:
- Size: 43.9 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
- AwesomeInterpreter - mipslol
README
MIPSLOL
########################################
A MIPS simulator with Lots Of Love :heart:
It reads MIPS instructions in binary form from ``ins.txt`` and executes them.
Dependencies
============
MIPSLOL needs meson build system and a sane C compiler.
macOS
-----
MIPSLOL's dependencies can be installed via `Homebrew `_
:
.. code-block:: bash
$ brew install clang meson
Linux
-----
You need Clang or gcc, plus meson.
They can be installed using the system package manager, for example:
.. code-block:: bash
# Debian, Ubuntu, etc.
$ apt-get install meson clang
.. code-block:: bash
# Fedora
$ dnf install meson clang
.. code-block:: bash
# CentOS, RHEL, ...
$ yum install meson clang
.. code-block:: bash
# Arch Linux
$ pacman -S meson clang
Windows:
--------
First, ensure that you have a working C compiler.
Then install `meson `_
Compiling
=========
Go to the root of the project and run:
.. code-block:: bash
$ meson build
$ cd build/
$ ninja
Usage
=====
Yeah...
It dosen't do a lot yet.
.. code-block:: bash
$ ./mipslol
Contribution:
============
You know the drill:
* fork
* new feature branch
* do stuff
* commit
* push
* pull request