https://github.com/mshockwave/mips-r3000-assembler
https://github.com/mshockwave/mips-r3000-assembler
antlr4 assembler
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mshockwave/mips-r3000-assembler
- Owner: mshockwave
- License: other
- Created: 2016-03-30T11:55:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-04-25T14:48:40.000Z (about 10 years ago)
- Last Synced: 2025-06-15T10:09:17.488Z (about 1 year ago)
- Topics: antlr4, assembler
- Language: Java
- Size: 110 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MIPS R3000 Assembler
====================
Assembler for [this simulator](https://github.com/mshockwave/MIPS-R3000-CPU-Simulator).
Checkout the simulator's documentations for more details about ISA spec.
Design
------
This project use [ANTLR4](http://www.antlr.org/index.html) as parser and lexer. The grammar could be found in [MipsAsm.g4](gen-src/main/antlr/MipsAsm.g4).
The compatible Java version is 1.7.
Build / Run
-----------
* Build
`./gradlew installApp`
The result would be under build/install/mips-r3000-assembler directory.
* Run unit tests
`./gradlew test`
* Run
`cd build/install/mips-r3000-assembler`
`./bin/mips-r3000-assembler` (Linux/Mac)
`./bin/mips-r3000-assembler.bat` (Windows)
The commandline options' description would be displayed if no arguments were given.
You can also run by gradle:
`./gradlew run`
* Package to zip
`./gradelw distZip`