Skip to content

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Count - for MIPS

A simple assembler-like program that is meant for quick assembly of small MIPS assembly segments to see how they look in hex. Just like Count Von Count from Sesame Street, this program will just count registers for MIPS instructions and convert them to the necessary hex. This is not an actual assembler to create MIPS programs in, but just to view the binary result of a certain instruction in MIPS32 assembly. This program was especially made in mind for students/educational usage to see how MIPS assembly deals with registers and outputs things

  • Supports I Type, R Type, and some J Type Instructions
  • Supports relative offsets in I type instructions
  • Does NOT support labels

How To Run

To use this, you need to have Python 3.10 between Python 3.12 (the PySide6 library isn;t in Python 3.13 yet).
Assuming you do clone the repo

git clone https://www.github.com/iamkillroy/thecountformips.git

Then, if running a Unix system, create a Python venv.

python3.10 -m venv env
source env/bin/activate
python3.10 -m pip install -r requirements.txt

Finally, run main.py

python3.10 main.py

About

A simple assembler that is meant for quick assembly of small MIPS assembly segments for comparison

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages